mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
updates including tmux support
This commit is contained in:
parent
89eaf97248
commit
a26bd7d49f
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -14,3 +14,6 @@
|
|||||||
path = my_plugins/vim-vue-syntastic
|
path = my_plugins/vim-vue-syntastic
|
||||||
url = git@github.com:sekel/vim-vue-syntastic.git
|
url = git@github.com:sekel/vim-vue-syntastic.git
|
||||||
branch = master
|
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 = {
|
let g:lightline = {
|
||||||
\ 'colorscheme': 'snazzy',
|
\ 'colorscheme': 'snazzy',
|
||||||
\ 'active': {
|
\ '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
|
setlocal foldmethod=manual
|
||||||
set number
|
set number
|
||||||
set foldlevel=99999
|
set foldlevel=99999
|
||||||
@ -12,5 +29,9 @@ set shiftwidth=2
|
|||||||
set tabstop=2
|
set tabstop=2
|
||||||
set nofoldenable
|
set nofoldenable
|
||||||
set cursorline
|
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 <Leader>d :bufdo bd!<CR>
|
||||||
map <C-W>` gg=G<C-o><C-o>
|
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
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 209f77c9550a90b0b88492c93852195c171f6ebd
|
@ -1 +1 @@
|
|||||||
Subproject commit ec1c94306953b678bb36572897bd218fe6c76506
|
Subproject commit fbc2af9e820d85e17cd08023f4dcc66545735d58
|
@ -1 +1 @@
|
|||||||
Subproject commit c4eb6e1469bcb48d77e0426e9c747a6bcc7b2014
|
Subproject commit ac23bd95d5fe0c7a7bf4a331e9d37eb72697c46e
|
@ -1 +1 @@
|
|||||||
Subproject commit 88b88fe5342e1155e93d35beeb10b6e4c36d6e86
|
Subproject commit 30b7fc882d94687a98243dbc9c649a4f6a356001
|
@ -263,7 +263,7 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
|
|||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
" Format the status line
|
" 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')}
|
||||||
|
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
Loading…
Reference in New Issue
Block a user