1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-26 04:57:45 +01:00

vifm: added shortcut and improved statusline

This commit is contained in:
tiyn 2023-11-26 15:43:47 +01:00
parent 71b01a07b5
commit 9e371369d9

View File

@ -109,6 +109,8 @@ endif
" Set custom status line look
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
set statusline=" %t%= %A %10u:%-7g %15E %20d "
" ------------------------------------------------------------------------------
@ -447,6 +449,10 @@ vnoremap w :view<cr>gv
" Open file in existing instance of vim
nnoremap o :!$EDITOR %f<cr>
" Create drag and drop window for selected file
nnoremap ag :!dragon-drop -a -x %f<cr>
vnoremap ag :!dragon-drop -a -x %f<cr>
" Mappings for faster renaming
nnoremap I cw<c-a>
nnoremap cc cw<c-u>