mirror of
https://github.com/amix/vimrc
synced 2025-07-06 16:05:01 +08:00
updates including tmux support
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -14,3 +14,6 @@
|
||||
path = my_plugins/vim-vue-syntastic
|
||||
url = git@github.com:sekel/vim-vue-syntastic.git
|
||||
branch = master
|
||||
[submodule "my_plugins/vim-liquid"]
|
||||
path = my_plugins/vim-liquid
|
||||
url = https://github.com/tpope/vim-liquid.git
|
||||
|
@ -2,9 +2,26 @@ colorscheme snazzy
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'snazzy',
|
||||
\ 'active': {
|
||||
\ 'left': [ [ 'mode', 'paste' ], [ 'readonly', 'absolutepath', 'modified' ] ],
|
||||
\ 'component_function': {
|
||||
\ 'gitbranch': 'fugitive#head'
|
||||
\ },
|
||||
\ 'left': [ [ 'mode', 'paste' ], [ 'gitbranch', 'readonly', 'absolutepath', 'modified' ] ],
|
||||
\ }
|
||||
\ }
|
||||
let g:fzf_colors =
|
||||
\ { 'fg': ['fg', 'Normal'],
|
||||
\ 'bg': ['bg', 'Normal'],
|
||||
\ 'hl': ['fg', 'Comment'],
|
||||
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
|
||||
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
|
||||
\ 'hl+': ['fg', 'Statement'],
|
||||
\ 'info': ['fg', 'PreProc'],
|
||||
\ 'border': ['fg', 'Ignore'],
|
||||
\ 'prompt': ['fg', 'Conditional'],
|
||||
\ 'pointer': ['fg', 'Exception'],
|
||||
\ 'marker': ['fg', 'Keyword'],
|
||||
\ 'spinner': ['fg', 'Label'],
|
||||
\ 'header': ['fg', 'Comment'] }
|
||||
setlocal foldmethod=manual
|
||||
set number
|
||||
set foldlevel=99999
|
||||
@ -12,5 +29,9 @@ set shiftwidth=2
|
||||
set tabstop=2
|
||||
set nofoldenable
|
||||
set cursorline
|
||||
set termguicolors
|
||||
let &t_8f = "\e[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\e[48;2;%lu;%lu;%lum"
|
||||
map <Leader>d :bufdo bd!<CR>
|
||||
map <C-W>` gg=G<C-o><C-o>
|
||||
autocmd FileType vue syntax sync fromstart
|
||||
|
1
my_plugins/vim-liquid
Submodule
1
my_plugins/vim-liquid
Submodule
Submodule my_plugins/vim-liquid added at 209f77c955
Submodule my_plugins/vim-polyglot updated: ec1c943069...fbc2af9e82
Submodule my_plugins/vim-signify updated: c4eb6e1469...ac23bd95d5
Submodule my_plugins/vim-snazzy updated: 88b88fe534...30b7fc882d
@ -263,7 +263,7 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
|
||||
set laststatus=2
|
||||
|
||||
" Format the status line
|
||||
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c
|
||||
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c\ TIME:\ %{strftime('%c')}
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
Reference in New Issue
Block a user