init.vim (1145B)
1 set relativenumber 2 set mouse=a 3 set ts=4 4 set sw=4 5 6 " colo retrobox 7 8 set clipboard=unnamedplus 9 set cindent 10 set cino="l1,t0,(0,:0" " :0 will align case to the switch statement 11 set makeprg=./build.sh 12 13 let mapleader = " " 14 15 nnoremap <leader>ff <cmd>Telescope find_files<cr> 16 nnoremap <leader>fg <cmd>Telescope live_grep<cr> 17 nnoremap <leader>fb <cmd>Telescope buffers<cr> 18 nnoremap <leader>fh <cmd>Telescope help_tags<cr> 19 nnoremap <leader>fm <cmd>Telescope marks<cr> 20 21 " Colemak DH binds 22 noremap n h 23 noremap e j 24 noremap i k 25 noremap o l 26 27 noremap l i 28 noremap L I 29 30 noremap j e 31 32 noremap k n 33 noremap K N 34 35 noremap h o 36 noremap H O 37 38 noremap <leader>wn <C-w>h 39 noremap <leader>we <C-w>j 40 noremap <leader>wi <C-w>k 41 noremap <leader>wo <C-w>l 42 noremap <leader>ww <C-w>w 43 noremap <leader>wo <C-w>o 44 noremap <leader>wc <C-w>c 45 46 noremap <leader>cc <cmd>make<cr> 47 noremap <leader>cn <cmd>cnext<cr> 48 noremap <leader>cp <cmd>cprev<cr> 49 50 call plug#begin() 51 52 Plug 'nvim-lua/plenary.nvim' 53 Plug 'nvim-telescope/telescope.nvim' 54 Plug 'garbas/vim-snipmate' 55 Plug 'MarcWeber/vim-addon-mw-utils' 56 Plug 'honza/vim-snippets' 57 Plug 'tpope/vim-surround' 58 Plug 'tpope/vim-commentary' 59 60 call plug#end()