timetracker/.vimrc

109 lines
2.9 KiB
VimL
Raw Permalink Normal View History

set nomodeline
set t_Co=256
"set t_Co=16
set t_ut=
set ai
set background=dark
"set background=light
"set textwidth=80
set hlsearch
"color asu1dark
"set t_ut=
let g:solarized_italic=0
"let g:solarized_bold=0
"let g:solarized_underline=0
2020-03-11 19:32:19 -04:00
"colorscheme sorcerer
let g:csv_delim=','
" Pathogen
filetype off " Pathogen needs to run before plugin indent on
2020-04-07 17:33:56 -04:00
"execute pathogen#infect()
"call pathogen#runtime_append_all_bundles()
"call pathogen#helptags() " generate help tags for everything in 'runtimepath'
filetype plugin indent on
filetype plugin on
2020-04-07 17:33:56 -04:00
"colorscheme gruvbox
syntax on
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
nnoremap <F2> :GundoToggle<CR>
nnoremap <C-j> <C-w>w
"imap  <End>
"imap  <Home>
"nnoremap  $
"nnoremap  <bar>
nmap Y y$
nmap C c$
"nnoremap V <C-v>
2020-04-07 17:33:56 -04:00
"inoremap jj <Esc>
"inoremap kk <Esc>
"inoremap hh <Esc>
"inoremap lll <Esc>
"inoremap bbb <Esc>
"inoremap eeee <Esc>
"inoremap ww <Esc>
"inoremap yy <Esc>yy
"inoremap ddd <Esc>dd
"inoremap dG <Esc>dG
"inoremap :w <Esc>:w
"inoremap :wq <Esc>:wq
"inoremap :q <Esc>:q
"inoremap :q! <Esc>:q!
"nnoremap <S-Tab> <<
"inoremap <S-Tab> <C-d>
" Force me to stop using arrow keys
2020-04-07 17:33:56 -04:00
"inoremap <Left> <Nop>
"nnoremap <Left> <Nop>
"inoremap <Right> <Nop>
"nnoremap <Right> <Nop>
"inoremap <Up> <Nop>
"nnoremap <Up> <Nop>
"inoremap <Down> <Nop>
"nnoremap <Down> <Nop>
" Fix Home/End/Delete
set backspace=indent,eol,start
"fixdel
" Idle timeout, exit insert mode after thirty seconds:
"au CursorHoldI * stopinsert
"set updatetime=30000
"if $TMUX == ''
" set clipboard+=unnamed
"endif
set clipboard+=unnamed
set laststatus=2
set statusline=[%n]\ %<%F\ \ \ [%M%R%H%W%Y][%{&ff}]\ \ %=\ line:%l/%L\ col:%c\ \ \ %p%%\ \ \ @%{strftime(\"%H:%M:%S\")}
if $VIM_CRONTAB == "true"
set nobackup
set nowritebackup
endif
"set spell spelllang=en
" Change cursor shape between insert and normal mode in iTerm2.app
if $TERM_PROGRAM =~ "iTerm.app"
if exists('$TMUX')
let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\" " Vertical bar in insert mode
let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\" " Block in normal mode
let &t_SR = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=2\x7\<Esc>\\" " Block in normal mode
else
let &t_SI = "\<Esc>]50;CursorShape=1\x7" " Vertical bar in insert mode
let &t_EI = "\<Esc>]50;CursorShape=0\x7" " Block in normal mode
let &t_SR = "\<Esc>]50;CursorShape=2\x7" " Block in normal mode
endif
endif
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
endif
autocmd BufRead,BufNewFile ~/pindrop/meetings/cs_support_weekly/* source ~/.muttvimrc
autocmd BufRead,BufNewFile ~/pindrop/meetings/cs_support_proactive_monitoring/* source ~/.muttvimrc
autocmd BufRead,BufNewFile ~/meetings/* source ~/.muttvimrc