Created
November 10, 2024 12:41
-
-
Save v2px/b30f0a856cb1a3f148b0f67c37ecf7ad to your computer and use it in GitHub Desktop.
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 characters
set mouse= | |
set ttymouse= | |
set background=dark | |
set number | |
set relativenumber | |
set laststatus=2 | |
set backup | |
set backupcopy=yes | |
set backupdir=~/.vimtmp/ | |
au BufWritePre * let &bex = '-' . strftime("%Y%b%d%X") . '~' | |
set cryptmethod=blowfish | |
set cursorline | |
set noesckeys | |
set exrc | |
set incsearch | |
set ruler | |
set scrolloff=3 | |
set sidescrolloff=10 | |
set showmatch | |
set autoindent | |
set ttyfast | |
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
let g:gutentags_ctags_extra_args = ['--c-types=+p'] | |
set noshowmode | |
let g:lightline = { | |
\ 'colorscheme': 'powerline', | |
\ 'active': { | |
\ 'left': [ [ 'mode', 'paste' ], | |
\ [ 'gitbranch', 'readonly', 'filename', 'modified', 'gutentags' ] ], | |
\ 'right': [ [ 'lineinfo' ], | |
\ [ 'percent' ], | |
\ [ 'fileformat', 'fileencoding', 'filetype', 'charvaluehex' ] ] | |
\ }, | |
\ 'component': { | |
\ 'charvaluehex': '0x%B', | |
\ }, | |
\ 'component_function': { | |
\ 'gutentags': "gutentags#statusline", | |
\ 'gitbranch': 'FugitiveHead', | |
\ }, | |
\ } | |
augroup MyGutentagsStatusLineRefresher | |
autocmd! | |
autocmd User GutentagsUpdating call lightline#update() | |
autocmd User GutentagsUpdated call lightline#update() | |
augroup END | |
set secure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment