|
|
|
@ -1,7 +1,6 @@ |
|
|
|
|
call plug#begin('~/local/share/nvim/plugged') |
|
|
|
|
|
|
|
|
|
Plug 'itchyny/lightline.vim' |
|
|
|
|
Plug 'airblade/vim-gitgutter' |
|
|
|
|
Plug 'editorconfig/editorconfig-vim' |
|
|
|
|
Plug 'itchyny/lightline.vim' |
|
|
|
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } |
|
|
|
@ -74,18 +73,22 @@ let g:fzf_nvim_statusline = 0 " disable statusline overwriting |
|
|
|
|
|
|
|
|
|
"remaps |
|
|
|
|
nnoremap <silent> <leader><space> :Files<CR> |
|
|
|
|
nnoremap <silent> <leader>a :Windows<CR> |
|
|
|
|
nnoremap <silent> <leader>w :Windows<CR> |
|
|
|
|
nnoremap <silent> <leader>h :History<CR> |
|
|
|
|
|
|
|
|
|
" Switching windows |
|
|
|
|
map <A-h> <C-w>h |
|
|
|
|
map <A-j> <C-w>j |
|
|
|
|
map <A-k> <C-w>k |
|
|
|
|
map <A-l> <C-w>l |
|
|
|
|
nnoremap <A-h> <C-w>h |
|
|
|
|
nnoremap <A-j> <C-w>j |
|
|
|
|
nnoremap <A-k> <C-w>k |
|
|
|
|
nnoremap <A-l> <C-w>l |
|
|
|
|
|
|
|
|
|
" |
|
|
|
|
nnoremap <A-J> :tabp<CR> |
|
|
|
|
nnoremap <A-K> :tabn<CR> |
|
|
|
|
|
|
|
|
|
" Basic cmd commands |
|
|
|
|
" Basic cmd commanous |
|
|
|
|
nnoremap <A-o> :!touch<Space> |
|
|
|
|
nnoremap <A-e> :!crf<Space> |
|
|
|
|
nnoremap <A-e> :tabe<Space> |
|
|
|
|
nnoremap <A-d> :!mdkir<Space> |
|
|
|
|
nnoremap <A-m> :!mv<Space>%<Space> |
|
|
|
|
|
|
|
|
@ -93,4 +96,5 @@ nnoremap <A-m> :!mv<Space>%<Space> |
|
|
|
|
vmap < <gv |
|
|
|
|
vmap > >gv |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Open NERDTree |
|
|
|
|
nnoremap <leader>n :NERDTreeToggle<CR> |
|
|
|
|