vimrc (606B)
1 " VIM Configuration File 2 " '.vimrc' 3 " M. Yamanaka 4 " email: myamanaka@live.com 5 " website: csmyamanaka.com 6 " license: MIT (See 'LICENCE') 7 8 set nocompatible 9 filetype on 10 syntax on 11 12 "Tab behaviour 13 set tabstop=2 14 set expandtab 15 16 "Appearance 17 set autoindent 18 set showmatch 19 20 "I only need line numbers for specific things 21 au filetype c,cpp,sh,python,java,haskell,php,html,css set number 22 "since I use rofi sometimes, rasi files should be treated as css files 23 au BufNewFile,BufRead *.rasi set filetype=css 24 25 "I usually write make files regardless of the language I use so this is set globally 26 nnoremap <leader>c :make<CR>