Update config
This commit is contained in:
parent
964851014f
commit
392766d103
3
after/ftplugin/mail.vim
Normal file
3
after/ftplugin/mail.vim
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
iabbr mfg Mit freundlichen Grüßen
|
||||||
|
|
||||||
|
set fdl=99
|
7
init.vim
7
init.vim
|
@ -174,6 +174,12 @@ nmap <Leader>gvc <cmd>!git svn dcommit<CR>
|
||||||
nmap <Leader>gvf <cmd>!git svn fetch<CR>
|
nmap <Leader>gvf <cmd>!git svn fetch<CR>
|
||||||
" Git }}}
|
" Git }}}
|
||||||
|
|
||||||
|
" Start interactive EasyAlign in visual mode (e.g. vipga)
|
||||||
|
xmap <M-a> <Plug>(EasyAlign)
|
||||||
|
|
||||||
|
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
|
||||||
|
nmap <M-a> <Plug>(EasyAlign)
|
||||||
|
|
||||||
let g:signify_vcs_list = [ 'git', 'hg' ]
|
let g:signify_vcs_list = [ 'git', 'hg' ]
|
||||||
"let g:signify_disable_by_default = 1
|
"let g:signify_disable_by_default = 1
|
||||||
|
|
||||||
|
@ -189,4 +195,5 @@ lua require("conf.treesitter")
|
||||||
set foldmethod=expr
|
set foldmethod=expr
|
||||||
set foldexpr=nvim_treesitter#foldexpr()
|
set foldexpr=nvim_treesitter#foldexpr()
|
||||||
set nofoldenable " Disable folding at startup.
|
set nofoldenable " Disable folding at startup.
|
||||||
|
lua require("conf.indent-blankline")
|
||||||
" vi:foldmethod=marker sw=2
|
" vi:foldmethod=marker sw=2
|
||||||
|
|
17
lua/conf/indent-blankline.lua
Normal file
17
lua/conf/indent-blankline.lua
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent1 guibg=#333333 gui=nocombine]]
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent2 guibg=#000000 gui=nocombine]]
|
||||||
|
|
||||||
|
require("indent_blankline").setup {
|
||||||
|
char = "",
|
||||||
|
char_highlight_list = {
|
||||||
|
"IndentBlanklineIndent1",
|
||||||
|
"IndentBlanklineIndent2",
|
||||||
|
},
|
||||||
|
space_char_highlight_list = {
|
||||||
|
"IndentBlanklineIndent1",
|
||||||
|
"IndentBlanklineIndent2",
|
||||||
|
},
|
||||||
|
show_trailing_blankline_indent = false,
|
||||||
|
show_current_context = true,
|
||||||
|
show_current_context_start = true,
|
||||||
|
}
|
25
packages.vim
25
packages.vim
|
@ -8,22 +8,22 @@ Plug 'crater2150/vim-theme-chroma'
|
||||||
"Plug '~/sources/chroma-colors/vim'
|
"Plug '~/sources/chroma-colors/vim'
|
||||||
Plug 'fladson/vim-kitty'
|
Plug 'fladson/vim-kitty'
|
||||||
|
|
||||||
|
" generic
|
||||||
|
Plug 'ryicoh/deepl.vim'
|
||||||
|
|
||||||
" tim pope stuff
|
" tim pope stuff
|
||||||
Plug 'tpope/vim-abolish'
|
Plug 'tpope/vim-repeat' " . for commands from plugins
|
||||||
Plug 'tpope/vim-repeat'
|
Plug 'tpope/vim-surround' " add/remove braces,quotes,...
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-characterize' " More info in ga output
|
||||||
Plug 'tpope/vim-characterize'
|
Plug 'tpope/vim-eunuch' " :Delete, :Move, etc.
|
||||||
Plug 'tpope/vim-eunuch'
|
Plug 'tpope/vim-commentary' " gc operator
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-sleuth' " detect shiftwidth/expandtab
|
||||||
Plug 'tpope/vim-sleuth'
|
|
||||||
"
|
"
|
||||||
" motions and textobjects
|
" motions and textobjects
|
||||||
Plug 'kana/vim-textobj-user'
|
Plug 'kana/vim-textobj-user' | Plug 'glts/vim-textobj-comment' " ic / ac
|
||||||
Plug 'glts/vim-textobj-comment'
|
|
||||||
Plug 'michaeljsmith/vim-indent-object'
|
Plug 'michaeljsmith/vim-indent-object'
|
||||||
Plug 'vim-scripts/argtextobj.vim'
|
Plug 'vim-scripts/argtextobj.vim'
|
||||||
|
|
||||||
"Plug 'mhinz/vim-signify'
|
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
" LSP
|
" LSP
|
||||||
|
@ -55,6 +55,8 @@ Plug 'gbrlsnchs/telescope-lsp-handlers.nvim'
|
||||||
|
|
||||||
Plug 'machakann/vim-highlightedyank'
|
Plug 'machakann/vim-highlightedyank'
|
||||||
|
|
||||||
|
Plug 'junegunn/vim-easy-align'
|
||||||
|
|
||||||
" for stuff installed via disto package manager, e.g. fzf's bundled vim plugin
|
" for stuff installed via disto package manager, e.g. fzf's bundled vim plugin
|
||||||
Plug '/usr/share/vim/vimfiles'
|
Plug '/usr/share/vim/vimfiles'
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
|
@ -64,6 +66,8 @@ Plug 'lambdalisue/suda.vim'
|
||||||
|
|
||||||
Plug 'vim-scripts/SyntaxRange'
|
Plug 'vim-scripts/SyntaxRange'
|
||||||
|
|
||||||
|
Plug 'lukas-reineke/indent-blankline.nvim'
|
||||||
|
|
||||||
" ruby
|
" ruby
|
||||||
Plug 'depuracao/vim-rdoc'
|
Plug 'depuracao/vim-rdoc'
|
||||||
Plug 'vim-ruby/vim-ruby'
|
Plug 'vim-ruby/vim-ruby'
|
||||||
|
@ -76,6 +80,7 @@ Plug 'gregsexton/gitv'
|
||||||
Plug 'gisphm/vim-gitignore'
|
Plug 'gisphm/vim-gitignore'
|
||||||
Plug 'sjl/splice.vim'
|
Plug 'sjl/splice.vim'
|
||||||
|
|
||||||
|
|
||||||
" other filetype specific plugins
|
" other filetype specific plugins
|
||||||
Plug 'jamessan/vim-gnupg'
|
Plug 'jamessan/vim-gnupg'
|
||||||
let g:no_cecutil_maps = 1
|
let g:no_cecutil_maps = 1
|
||||||
|
|
Loading…
Reference in a new issue