Created
December 25, 2016 04:26
-
-
Save secwang/7fb0a38b63915325a1ec072e99fac4da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set hlsearch | |
| set smartcase | |
| set ignorecase | |
| set incsearch | |
| set showcmd | |
| " fuzzy find | |
| set path+=** | |
| set wildmenu | |
| ":b find in buffer | |
| "set tag? show tags | |
| "echo expand("%") | |
| set autoindent | |
| set shiftwidth=4 | |
| "set smartindent | |
| set smarttab | |
| set softtabstop=4 | |
| set clipboard=unnamed | |
| set backspace=indent,eol,start | |
| set hidden | |
| "set rtp+=/usr/local/opt/fzf | |
| let g:netrw_banner=0 " disable annoying banner | |
| let g:netrw_browse_split=4 " open in prior window | |
| let g:netrw_altv=1 " open splits to the right | |
| let g:netrw_liststyle=3 " tree view | |
| let g:netrw_list_hide=netrw_gitignore#Hide() | |
| let g:netrw_list_hide.=',\(^\|\s\s\)\zs\.\S\+' | |
| highlight Pmenu ctermfg=yellow ctermbg=black | |
| highlight PmenuSel ctermfg=darkred ctermbg=black | |
| " SNIPPETS | |
| nnoremap ,inc :-1read $HOME/.vim/snippets/include<CR>$a | |
| nnoremap ,main :-1read $HOME/.vim/snippets/main<CR>3ji | |
| nnoremap ,func :-1read $HOME/.vim/snippets/func<CR>jx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment