"============================================================" " " " Darkcloud Vim Config: vimpager.vim " " " " By: Kevin MacMartin (prurigro@gmail.com) " " Website: https://github.com/prurigro/darkcloud-vimconfig " " " " License: MIT " " " "============================================================" " Undo unwanted less.vim keymappings unmap v unmap w unmap unmap unmap unmap " Main Settings: set nocursorline nocursorcolumn "disable cursor column/line highlighting set nofoldenable "disable the fold column set noru laststatus=0 noshowmode "remove statusline set clipboard=autoselect "autocopy selection set clipboard+=unnamed "use '*' reg if has('unnamedplus')|set clipboard+=unnamedplus|endif "if exists, use '+' reg set autoread "track file changes autocmd CursorHold * checktime "use CursorHold events to trigger checktime " Mappings: " Mouse map map map map noremap 4zl noremap 4zh noremap zl noremap zh " Movement noremap 0 noremap noremap $ noremap noremap noremap noremap = + noremap _ - noremap 4k noremap 4j noremap noremap noremap gg0 noremap G$ noremap $ noremap ^ " Copy/Paste nnoremap y vy vnoremap y y nnoremap y vnoremap y nnoremap T vg_y vnoremap T g_y " Selection nnoremap gg0vG$ xnoremap gg0vG$ nnoremap a gg0vG$ xnoremap a gg0vG$ nnoremap / ':noh'