Editor Configurations
Pre-configured editors with themes, plugins, and productivity settings for Vim, Nano, and VS Code.
Installation
# Install editor configurations
make install-editors
# Or manually
./install.sh editors
Supported Editors
Enhanced Vim Configuration
- Python IDE Features: Syntax highlighting, auto-completion, debugging support
- Advanced Plugins: Git integration, file navigation, language support
- Productivity Functions: Run Python files, generate ctags, file operations
- Enhanced Navigation: Jump to functions, toggle header/source files
- Git Integration: Status, commit, push, log, diff operations
- Code Formatting: JSON formatting, trailing whitespace removal
# Enhanced Vim Functions
:call RunPythonFile() # Execute current Python file
:call RunShellScript() # Execute current shell script
:call GenerateCtags() # Generate code navigation tags
:call OpenFileUnderCursor() # Open file under cursor
:call ToggleHeaderSource() # Switch between header/source files
:call CreateNewFile() # Create new file in current directory
# Key Mappings
,gs # Git status
,gc # Git commit
,gp # Git push
,gl # Git log
,gd # Git diff
,r # Run Python file
,s # Run shell script
,g # Generate ctags
,f # Open file under cursor
,h # Toggle header/source
,n # Create new file
Nano Configuration
- Syntax Highlighting: Multiple language support
- Theme: Dark theme with color coding
- Settings: Auto-indent, mouse support, word wrapping
# Sample Nano settings
set autoindent
set mouse
set softwrap
set tabsize 4
set wordwrap
VS Code Configuration
- Settings: Optimized for DevOps workflows
- Extensions: Recommended extensions for development
- Themes: Dark theme with proper contrast
- Key Bindings: Custom shortcuts for productivity
# VS Code settings include:
{
"editor.fontSize": 14,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.wordWrap": "on",
"workbench.colorTheme": "Dark+ (default dark)"
}
Recommended Extensions
- Docker: Docker extension for container management
- Kubernetes: K8s extension for cluster management
- GitLens: Enhanced Git capabilities
- Terraform: Terraform syntax and validation
- YAML: YAML syntax highlighting and validation