Last active
January 2, 2023 20:21
-
-
Save nonrice/96046e3d77ed79f170cadfcfce1e42e5 to your computer and use it in GitHub Desktop.
My vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filetype plugin indent on | |
autocmd filetype cpp nnoremap <F5> <Cmd>:w<CR>:!cprun.zsh %<CR> | |
autocmd filetype tex nnoremap <F5> <Cmd>:w<CR>:!xelatex % && open %<.pdf<CR> | |
autocmd filetype python nnoremap <F5> <Cmd>:w<CR>:!python3 % < ~/.in<CR> | |
nnoremap <F6> <Cmd>:w<CR>:e ~/.in<CR> | |
set tabstop=4 shiftwidth=4 softtabstop=4 autoindent expandtab | |
set backspace=2 | |
set number relativenumber | |
call plug#begin() | |
Plug 'mattn/vim-lexiv' | |
Plug 'bfrg/vim-cpp-modern' | |
call plug#end() | |
set t_RV=0 t_Co=8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cprun.zsh
found in https://github.com/nonrice/compprog