This commit is contained in:
2018-12-05 20:29:13 -05:00
parent e116f69904
commit 71b6545ec0
5 changed files with 25 additions and 9 deletions

View File

@@ -128,7 +128,7 @@ Plug 'easymotion/vim-easymotion'
" status bar displaying various info about the current buffer
Plug 'vim-airline/vim-airline'
" let g:airline_section_c = '%F'
let g:airline_section_c = '%F'
Plug 'vim-airline/vim-airline-themes'
let g:airline_powerline_fonts = 1
@@ -210,6 +210,8 @@ nnoremap <leader>ht :set tabstop=2 shiftwidth=2 expandtab<CR>
nnoremap <leader>vhe :vert help
" move cursor to middle of line
nnoremap <leader>m :call cursor(0, len(getline('.'))/2)<CR>
" apply normal command to selection
vnoremap <leader>n q:anorm
" don't wrap lines
nnoremap <leader>nw :set nowrap<CR>
" check if in neovim