Skip to content

Instantly share code, notes, and snippets.

@funny-falcon

funny-falcon/.gitconfig

Last active Oct 30, 2017
Embed
What would you like to do?
[gui]
spellingdictionary = en_US
tabsize = 4
fontui = -family \"DejaVu Sans\" -size 10 -weight normal -slant roman -underline 0 -overstrike 0
fontdiff = -family \"DejaVu Sans Mono\" -size 10 -weight normal -slant roman -underline 0 -overstrike 0
[user]
emal = funny.falcon@gmail.com
email = funny.falcon@gmail.com
name = Sokolov Yura
[http]
cookiefile = /home/yura/.gitcooki
set -g history-limit 20000
setw -g mode-keys vi
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
$ ls ~/.vim/bundle
ack.vim bclose.vim bufexplorer gitv neocomplete.vim nerdtree tagbar vim-fugitive vim-gitgutter
call pathogen#infect()
set ws
set mouse=v
"set directory=~/.vim/tmp//
set noswapfile
set nobackup
set nowb
set viminfo='20,\"50,:20,/20,%,n~/.viminfo.go
autocmd vimenter * if !argc() | NERDTree | endif
" Keep undo history across sessions by storing it in a file
"if has('persistent_undo')
" set undofile
" set undodir=~/.vim/undo//
"endif
set history=700
filetype plugin on
filetype indent on
nmap <C-h> <C-w>h
nmap <C-j> <C-w>j
nmap <C-k> <C-w>k
nmap <C-l> <C-w>l
set colorcolumn=80,120
let $LANG='C'
set langmenu=en
set cursorline
hi CursorLine cterm=NONE ctermbg=lightgrey
hi ColorColumn cterm=NONE ctermbg=cyan
set wildignore+=.git\*,.hg\*,.svn\*
set infercase
set hlsearch
set showmatch
set magic
set noerrorbells
set novisualbell
set t_vb=
set tm=500
map <f6> :silent :nohlsearch<cr>
" Close the current buffer (w/o closing the current window)
map <leader>bd :Bclose<cr>
" Let 'tl' toggle between this and the last accessed tab
let g:lasttab = 1
nmap <Leader>tl :exe "tabn ".g:lasttab<CR>
au TabLeave * let g:lasttab = tabpagenr()
" visual shifting (does not exit Visual mode)
vnoremap < <gv
vnoremap > >gv
au syntax ruby setlocal sw=2 sts=2 expandtab
au syntax lua setlocal sw=4 sts=4 expandtab
au syntax go setlocal sw=4 sts=4 tabstop=4 noexpandtab
au syntax c,objc setlocal sw=8 sts=8 iskeyword-=:
map <f3> :Ack! '<C-R><C-W>' <cr>
map <f4> :Ack! -w '<C-R><C-W>' <cr>
au syntax c,objc,cpp map <f5> :Ack! --hh -w '<C-R><C-W>' <cr>
nmap <F8> :TagbarToggle<CR>
nnoremap z/ :silent :let @/ = '\<'.escape(expand('<cword>'), '\').'\>'<cr>:silent :set hlsearch<cr>
try
source .local.vim
catch
endtry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment