fixed vim window nav

main
The_miro 2025-03-31 23:28:14 +02:00
parent e678ba15ed
commit b4699ae415
1 changed files with 3 additions and 3 deletions

View File

@ -84,8 +84,8 @@ let hostname=system('hostname -s | tr -d "\n"')
let ipaddr=system('hostname -i | tr -d "\n"') let ipaddr=system('hostname -i | tr -d "\n"')
let g:airline_section_x = 'IP:%{ipaddr} DNS:%{hostname}' let g:airline_section_x = 'IP:%{ipaddr} DNS:%{hostname}'
nnoremap <C-K> <C-W>k nnoremap <C-l> <C-w>w
nnoremap <C-L> <C-W>l nnoremap <C-h> <C-w>h
:nnoremap t :FloatermNew<CR> :nnoremap t :FloatermNew<CR>
:nnoremap e :NERDTreeToggle<CR><C-W>l :nnoremap e :NERDTreeToggle<CR><C-W>l
@ -132,4 +132,4 @@ inoremap <expr> <CR> pumvisible() ? "\<C-Y>" : "\<CR>"
function! s:check_back_space() abort function! s:check_back_space() abort
let col = col('.') - 1 let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s' return !col || getline('.')[col - 1] =~ '\s'
endfunction endfunction