Last active
April 18, 2017 21:54
-
-
Save mkocikowski/3e8ce171dcab12ad173f to your computer and use it in GitHub Desktop.
Revisions
-
mkocikowski revised this gist
Apr 18, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,7 @@ set tags=./tags;$HOME set tabstop=4 softtabstop=4 shiftwidth=4 sta expandtab autoindent " Strip trailing whitespace on save autocmd FileType python,javascript,json,markdown,sql autocmd BufWritePre <buffer> :%s/\s\+$//e " ignore case in search "set ic -
mkocikowski revised this gist
Mar 28, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,9 @@ map <C-\> {gq} execute pathogen#infect() " yaml autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab " always display status line set laststatus=2 -
mkocikowski revised this gist
Mar 6, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -47,7 +47,7 @@ let g:go_fmt_command = "goimports" " https://github.com/scrooloose/nerdtree nmap <F9> :NERDTreeToggle<CR> " https://github.com/majutsushi/tagbar nmap <F8> :TagbarToggle<CR> let g:tagbar_width = 70 -
mkocikowski revised this gist
Mar 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -41,7 +41,7 @@ au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown nnoremap <C-n> :bnext<CR> nnoremap <C-p> :bprevious<CR> " https://github.com/fatih/vim-go let g:go_fmt_command = "goimports" " https://github.com/scrooloose/nerdtree -
mkocikowski revised this gist
Mar 2, 2017 . 1 changed file with 56 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,6 +23,59 @@ set tabstop=4 softtabstop=4 shiftwidth=4 sta expandtab autoindent " Strip trailing whitespace on save " autocmd FileType python,javascript,json autocmd BufWritePre <buffer> :%s/\s\+$//e " ignore case in search "set ic " turn on line numbers "set number " set marked column at 73 set colorcolumn=73 " set additional escape key in insert mode imap jj <Esc>`^ imap ;; <Esc>`^ au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown nnoremap <C-n> :bnext<CR> nnoremap <C-p> :bprevious<CR> " https://github.com/fatih/vim-go#settings let g:go_fmt_command = "goimports" " https://github.com/scrooloose/nerdtree nmap <F9> :NERDTreeToggle<CR> " http://majutsushi.github.io/tagbar nmap <F8> :TagbarToggle<CR> let g:tagbar_width = 70 " https://github.com/jstemmer/gotags let g:tagbar_type_go = { \ 'ctagstype' : 'go', \ 'kinds' : [ \ 'p:package', \ 'i:imports:1', \ 'c:constants', \ 'v:variables', \ 't:types', \ 'n:interfaces', \ 'w:fields', \ 'e:embedded', \ 'm:methods', \ 'r:constructor', \ 'f:functions' \ ], \ 'sro' : '.', \ 'kind2scope' : { \ 't' : 'ctype', \ 'n' : 'ntype' \ }, \ 'scope2kind' : { \ 'ctype' : 't', \ 'ntype' : 'n' \ }, \ 'ctagsbin' : 'gotags', \ 'ctagsargs' : '-sort -silent' \ } -
mkocikowski revised this gist
May 20, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,3 +23,6 @@ set tabstop=4 softtabstop=4 shiftwidth=4 sta expandtab autoindent " Strip trailing whitespace on save " autocmd FileType python,javascript,json autocmd BufWritePre <buffer> :%s/\s\+$//e " search highlighting ; clear with <CR> set hlsearch nnoremap <CR> :nohlsearch<CR><CR> -
mkocikowski revised this gist
Jul 30, 2015 . 1 changed file with 9 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ syntax on filetype indent plugin on map <C-\> {gq} execute pathogen#infect() " always display status line set laststatus=2 @@ -16,3 +16,10 @@ set statusline+=%F\ %l\:%c " where to look for ctags " start in the current directory, work your way all the way up to $HOME set tags=./tags;$HOME " Wrapping and tabs. set tabstop=4 softtabstop=4 shiftwidth=4 sta expandtab autoindent " Strip trailing whitespace on save " autocmd FileType python,javascript,json autocmd BufWritePre <buffer> :%s/\s\+$//e -
mkocikowski revised this gist
Jul 1, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -12,3 +12,7 @@ set autochdir " display file name, line, column set statusline+=%F\ %l\:%c " where to look for ctags " start in the current directory, work your way all the way up to $HOME set tags=./tags;$HOME -
mkocikowski revised this gist
Jun 26, 2015 . 1 changed file with 18 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ " https://dev.launchpad.net/UltimateVimPythonSetup " Wrapping and tabs. set tw=78 ts=4 sw=4 sta et sts=4 ai " More syntax highlighting. let python_highlight_all = 1 " Auto completion via ctrl-space (instead of the nasty ctrl-x ctrl-o) set omnifunc=pythoncomplete#Complete inoremap <Nul> <C-x><C-o> " Wrap at 72 chars for comments. set formatoptions=cq textwidth=72 foldignore= wildignore+=*.py[co] " Highlight end of line whitespace. highlight WhitespaceEOL ctermbg=red guibg=red match WhitespaceEOL /\s\+$/ -
mkocikowski revised this gist
Jun 26, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ syntax on filetype indent plugin on " wrap text map <C-\> {gq} " always display status line -
mkocikowski created this gist
Jun 26, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ syntax on filetype indent plugin on map <C-\> {gq} " always display status line set laststatus=2 " auto change dir to current file set autochdir " display file name, line, column set statusline+=%F\ %l\:%c