From becada2d076a36032f9ca38012ca66c76bb70829 Mon Sep 17 00:00:00 2001 From: Von Random Date: Sat, 21 Jul 2018 10:56:45 +0300 Subject: [PATCH] some maps modified for vimrc --- vimrc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/vimrc b/vimrc index 4e5ffc4..8710619 100644 --- a/vimrc +++ b/vimrc @@ -15,8 +15,7 @@ set wildmenu showcmd ruler laststatus=2 set statusline=[%F]\ %R%H%W%M\ %=[%{&fenc}/%{&ff}]\ %y\ [%4l/%L:%3v] " update window title if $TERM =~ '^screen' - set t_ts=k - set t_fs=\ + set t_ts=k t_fs=\ endif set title titlestring=[%{hostname()}]\ %t\ -\ vim " enable case indentation @@ -42,16 +41,16 @@ nnoremap l :setlocal list! nnoremap c :setlocal cursorline! nnoremap w :setlocal wrap! "turn off highlight until next search -nnoremap / :noh +noremap / :noh "copy to / paste from clipboard -vmap y "+y -vmap d "+d -nmap p "+p -nmap P "+P -vmap p "+p -vmap P "+P +noremap y "+y +noremap d "+d +noremap p "+p +noremap P "+P "move macro somewhere I won't accidentally use it noremap q +"Return in normal should insert new lines +nnoremap ok "quit / save nnoremap q :q nnoremap s :w