" key mappings let mapleader = "," nmap s :update nmap p :set paste! nmap h :set hlsearch! nmap t :wa :Make test " navigate buffers by ctrl-b nmap :bprevious nmap :bnext nnoremap ; : " no cheating ! map map map map " for damaged keyboards map imap " special chars nmap l :set list! " search/navigate project structure nmap / :LspWorkspaceSymbol nmap r :LspReferences nmap d :LspDeclaration nmap D :LspDefinition nmap :LspCodeAction " tree map n :NERDTreeToggle " quickfix nmap q window:quickfix:toggle " completion function! s:check_back_space() abort let col = col('.') - 1 return !col || getline('.')[col - 1] =~ '\s' endfunction inoremap \ pumvisible() ? "\" : \ check_back_space() ? "\" : \ asyncomplete#force_refresh() inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" imap (asyncomplete_force_refresh)