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