X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/56491639034ae215c8eff0ee94f4379b53949c68..b816234da72aa66e545410fcaec5f45e54ee0fdb:/vim/vimrc?ds=inline diff --git a/vim/vimrc b/vim/vimrc index 033b90d..0ef4630 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -65,15 +65,24 @@ nmap n :silent nohl nmap # :%s:/::gn " center cursor after search nnoremap n nzz + " disable arrows -inoremap -inoremap -inoremap +noremap +noremap +noremap +noremap +inoremap +inoremap +inoremap inoremap -noremap -noremap -noremap -noremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap set nostartofline " don't move the cursor to the first non-blank char of a line set path=.,include/,../include/,/usr/include/c++/*,/opt/ros/hydro/include @@ -88,6 +97,8 @@ set lazyredraw " don't redraw while executing macros set list " show chars defined in 'listchars' set listchars=tab:»·,trail:· " list of strings used for list mode +set listchars+=extends:⋯,precedes:⋯ +set sidescrolloff=1 " don't scroll over the listchars set number " show the line number for each line set relativenumber " show the relative line number for each line