mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Add BSPWM config, clean dont't use configs
This commit is contained in:
parent
ed62788b9e
commit
246dc34d13
28 changed files with 303 additions and 727 deletions
|
|
@ -2,10 +2,11 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'Smirnov-O/nten16.vim' " Color scheme
|
||||
Plug 'itchyny/lightline.vim' " Status line
|
||||
Plug 'airblade/vim-gitgutter' " Git indicator
|
||||
Plug 'preservim/nerdtree' " File viewer
|
||||
Plug 'ap/vim-css-color' " CSS color preview
|
||||
Plug 'mhinz/vim-startify' " Start page
|
||||
Plug 'dense-analysis/ale' " Linter
|
||||
Plug 'kassio/neoterm' " Terminal wrapper
|
||||
Plug 'aurieh/discord.nvim' " Discord rich
|
||||
Plug 'editorconfig/editorconfig-vim' " EditorConfig support
|
||||
|
||||
" Completion & snippets
|
||||
|
|
@ -17,10 +18,11 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'metakirby5/codi.vim'
|
||||
Plug 'plasticboy/vim-markdown', {'for': 'markdown'}
|
||||
Plug 'vim-python/python-syntax', {'for': 'python'}
|
||||
Plug 'fatih/vim-go', {'for': 'go'}
|
||||
Plug 'PotatoesMaster/i3-vim-syntax', {'for': 'i3'}
|
||||
Plug 'kovetskiy/sxhkd-vim'
|
||||
call plug#end()
|
||||
|
||||
|
||||
" Theme
|
||||
set termguicolors
|
||||
colorscheme nten16
|
||||
|
|
@ -93,17 +95,6 @@ let g:vim_markdown_folding_disabled = 1
|
|||
let g:vim_markdown_frontmatter = 1
|
||||
let g:markdown_fenced_languages = ['go', 'python', 'bash', 'sh=bash']
|
||||
|
||||
" Go
|
||||
let g:go_template_autocreate = 0
|
||||
let g:go_highlight_structs = 1
|
||||
let g:go_highlight_methods = 1
|
||||
let g:go_highlight_functions = 1
|
||||
let g:go_highlight_operators = 1
|
||||
let g:go_highlight_build_constraints = 1
|
||||
let g:go_snippet_engine = ""
|
||||
let g:go_fmt_command = "goimports"
|
||||
let g:go_auto_type_info = 1
|
||||
|
||||
|
||||
" == Plugins configuration
|
||||
let g:lightline = {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ import (
|
|||
)
|
||||
endsnippet
|
||||
|
||||
snippet fn "Function"
|
||||
func ${1:main}(${2:arg} ${3:type}) ${4:type} (
|
||||
${5}
|
||||
)
|
||||
endsnippet
|
||||
|
||||
snippet for "For loop"
|
||||
for ${1:i\:\=1}; ${2:i\<\=10}; ${3:\i\+\+} {
|
||||
${4}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue