Created
March 4, 2021 21:26
-
-
Save nelsonspbr/2f790e480bb41daa4d6e96c380170442 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or 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
syntax on | |
set tabstop=4 | |
set softtabstop=4 | |
set expandtab | |
set number | |
set showmatch | |
set incsearch | |
set hlsearch | |
set nonumber | |
set mouse=a | |
set autoindent | |
set term=xterm | |
nnoremap <S-Tab> << | |
inoremap <S-Tab> <C-d> | |
nnoremap <silent> <F5> :let _s=@/ <Bar> :%s/\s\+$//e <Bar> :let @/=_s <Bar> :nohl <Bar> :unlet _s <CR> | |
set pastetoggle=<F3> | |
autocmd FileType make setlocal noexpandtab | |
set laststatus=2 | |
set statusline=%f\ -\ L=%l/%L\ C=%c | |
hi StatusLine ctermbg=Gray ctermfg=Black | |
au BufRead,BufNewFile *.r set filetype=c | |
nnoremap <silent> <F4> :nohl<CR><C-l> | |
command WQ wq | |
command Wq wq | |
command W w | |
command Q q | |
highlight Comment ctermfg=DarkGray | |
set nobackup nowritebackup | |
"execute pathogen#infect() | |
inoremap <special> <F2> <c-r>=strftime('(%H:%M) ')<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment