.vimrc
My Vim Setup
Install / Use
/learn @vsouza/.vimrcREADME
.vimrc
My Vim Setup with Bundle with a beautiful theme and fonts..
<img src="http://cl.ly/image/2H0g0u0Z2K1P/Screen%20Shot%202015-07-21%20at%2015.32.18.png">suports
- Python
- Go
- PHP
- HackLang
- HTML
- Markdown
- jinja2
- Blade
- Json
- ReactJS
- and some more..
Dependencies
for MacOSX
brew install ctags-exuberant
Plugins
- Vundle.vim
- vim-gitgutter
- syntastic
- vim-markdown
- vim-airline
- vim-indent-guides
- vim-commentary
- vim-multiple-cursors
- vim-jade
- ctrlp.vim
- nerdtree
- dash.vim
- vim-ctrlspace
- ack.vim
- phpcomplete.vim
- vim-hack
- vim-go
- vim-json
- rope-vim
- Dockerfile.vim
- supertab
- tagbar
- vim-easymotion
- vim-jsx
- vim-flake8
Appearence
Theme
Font
Customizations
Basic Configurations
set t_Co=256
colorscheme Tomorrow-Night " awesome colorscheme
syntax enable " enable syntax processing
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing
set expandtab " tabs are spaces
set linebreak " Causes vim to not wrap text in the middle of a word
set pastetoggle=<F9> " Useful so auto-indenting doesn't mess up code when pasting
set backspace=indent,eol,start
UI config
set number " show line numbers
set showcmd " show command in bottom bar
"set cursorline " highlight current line
filetype indent on " load filetype-specific indent files
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when we need to.
set showmatch " highlight matching [{()}]
Search
set incsearch " search as characters are entered
set hlsearch " highlight matches
nnoremap <leader><space> :nohlsearch<CR>
Folders
set foldenable " enable folding
set foldlevelstart=10 " open most folds by default
set foldnestmax=10 " 10 nested fold max
nnoremap <space> za
set foldmethod=indent " fold based on indent level
Movements
" move vertically by visual line
nnoremap j gj
nnoremap k gk
" highlight last inserted text
nnoremap gV `[v`]
Airline
let g:airline_left_sep = '>> '
let g:airline_right_sep = '<< '
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#fnamemod = ':t'
Syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
Tagbar
nmap <F6> :TagbarToggle<CR>
Vim-go
let g:go_fmt_fail_silently = 1
let g:go_fmt_command = "goimports"
let g:go_highlight_space_tab_error = 0
let g:go_highlight_array_whitespace_error = 0
let g:go_highlight_trailing_whitespace_error = 0
let g:go_highlight_space_tab_error = 0
let g:go_highlight_extra_types = 0
let g:go_highlight_methods = 0
let g:go_highlight_functions = 0
Buffers
map gn :bn<cr>
map gp :bp<cr>
map gd :bd<cr>
Nerdtree
let NERDTreeHighlightCursorline = 1
let NERDTreeIgnore = ['\~$', '.*\.pyc$', 'pip-log\.txt$', 'whoosh_index',
\ 'xapian_index', '.*.pid', 'monitor.py', '.*-fixtures-.*.json',
\ '.*\.o$', 'db.db', 'tags.bak']
let NERDTreeMinimalUI = 1
let NERDTreeDirArrows = 1
let NERDChristmasTree = 1
let NERDTreeChDirMode = 2
let NERDTreeMapJumpFirstChild = 'gK'
nmap <F5> :NERDTreeToggle<CR>
GitGutter
let g:gitgutter_eager = 0
let g:gitgutter_enabled = 1
let g:gitgutter_max_signs = 1000
Disable arrows
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
License
MIT License © Vinicius Souza
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
