Created
June 4, 2012 13:02
-
-
Save gumayunov/2868231 to your computer and use it in GitHub Desktop.
homedir janus adaptation
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
set t_Co=256 | |
"set t_Co=16 | |
"let g:solarized_termcolors=256 | |
set background=light | |
colorscheme solarized | |
" Some fixes for solarized theme | |
hi rubyDefine ctermbg=none | |
hi rubyRailsMethod cterm=bold ctermfg=33 | |
hi rubyInstanceVariable cterm=bold CTermfg=33 | |
hi rubySymbol ctermfg=red | |
" some fixes for theme | |
hi Pmenu ctermfg=11 ctermbg=none | |
hi Error ctermfg=white guifg=white | |
map <F10> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' | |
\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" | |
\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR> | |
map <Leader>o :CtrlP<CR> | |
map <Leader>p :NERDTreeToggle<CR> | |
"let g:buffergator_viewport_split_policy = 'T' | |
"map <F5> :BuffergatorToggle<CR> | |
map <F5> :BufExplorer<CR> | |
nnoremap <C-L> :nohls<CR><C-L> | |
inoremap <C-L> <C-O>:nohls<CR> | |
inoremap <Up> <NOP> | |
inoremap <Down> <NOP> | |
inoremap <Left> <NOP> | |
inoremap <Right> <NOP> | |
noremap <Up> <NOP> | |
noremap <Down> <NOP> | |
noremap <Left> <NOP> | |
noremap <Right> <NOP> | |
set mouse=a | |
set mousemodel=popup | |
function! s:FindEmAll(needle, path) | |
cgetexpr system('find '.a:path.' -type f -not \( -iname "*.swp" -or -iname "*.jpg" -or -iname "*.png" -or -iname "*.gif" -or -iname "*.log" \) -print0 \| xargs -0 egrep -n "'.a:needle.'" \| sed -e "s/:(\d+)/\|$1\|/"' ) | |
copen | |
wincmd L | |
endfunction | |
command! -complete=file -nargs=+ Find call s:FindEmAll(<f-args>) | |
set statusline=%<%f%h%m%r\ %b\ %{&encoding}\ 0x\ \ %l,%c%V\ %P | |
set laststatus=2 | |
map ё ` | |
map й q | |
map ц w | |
map у e | |
map к r | |
map е t | |
map н y | |
map г u | |
map ш i | |
map щ o | |
map з p | |
map х [ | |
map ъ ] | |
map ф a | |
map ы s | |
map в d | |
map а f | |
map п g | |
map р h | |
map о j | |
map л k | |
map д l | |
map ж ; | |
map э ' | |
map я z | |
map ч x | |
map с c | |
map м v | |
map и b | |
map т n | |
map ь m | |
map б , | |
map ю . | |
map Ё ~ | |
map Й Q | |
map Ц W | |
map У E | |
map К R | |
map Е T | |
map Н Y | |
map Г U | |
map Ш I | |
map Щ O | |
map З P | |
map Х { | |
map Ъ } | |
map Ф A | |
map Ы S | |
map В D | |
map А F | |
map П G | |
map Р H | |
map О J | |
map Л K | |
map Д L | |
map Ж : | |
map Э " | |
map Я Z | |
map Ч X | |
map С C | |
map М V | |
map И B | |
map Т N | |
map Ь M | |
map Б < | |
map Ю > |
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
call janus#disable_plugin('vimwiki') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment