set clipboard+=unnamed set number set relativenumber set signcolumn=auto set colorcolumn=0 set cursorline set smartindent set tabstop=4 set shiftwidth=4 set ls=2 set hlsearch set incsearch set ignorecase set scrolloff=10 set wildmenu let g:mapleader=" " nnoremap w :w nnoremap h nnoremap j nnoremap k nnoremap l xnoremap J :move '>+1gv=gv xnoremap K :move '<-2gv=gv nnoremap J mzJ`z xnoremap >gv xnoremap y "+y vnoremap y "+y nnoremap Y "+Y nnoremap d "_d vnoremap d "_d nnoremap Q @@ vnoremap rs :s/\<\>//gI nnoremap ra :%s/\<\>//gI nnoremap rc :%s/\<\>//gcI nnoremap m :!make augroup SearchHighlight autocmd! autocmd CmdlineLeave /,\? :nnoremap :noh autocmd CmdlineChanged /,\? :nnoremap :noh augroup END let g:highlightedyank_highlight_duration = 100 Plug 'tpope/vim-surround' Plug 'tpope/vim-commentary' Plug 'machakann/vim-highlightedyank'