timetracker/.vimrc
2024-06-25 14:55:05 -04:00

109 lines
2.9 KiB
VimL
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
"colorscheme sorcerer
let g:csv_delim=','
" Pathogen
filetype off " Pathogen needs to run before plugin indent on
"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
"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>
"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
"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