Move all config files to config directory and add corresponding changes to bootstrap script
This commit is contained in:
41
config/nvim/init.vim
Normal file
41
config/nvim/init.vim
Normal file
@@ -0,0 +1,41 @@
|
||||
source $HOME/.config/nvim/plugins.vim
|
||||
source $HOME/.config/nvim/general.vim
|
||||
source $HOME/.config/nvim/remaps.vim
|
||||
source $HOME/.config/nvim/theme.vim
|
||||
source $HOME/.config/nvim/terminal.vim
|
||||
source $HOME/.config/nvim/file-tree.vim
|
||||
source $HOME/.config/nvim/coc.vim
|
||||
source $HOME/.config/nvim/tabs.vim
|
||||
|
||||
" Filetypes for markdown extension
|
||||
let g:mkdp_filetypes = ['md', 'mdx', 'markdown']
|
||||
|
||||
let g:svelte_preprocessors = ['typescript', 'scss']
|
||||
|
||||
let g:closetag_filenames = '*.html,*.svelte,*.jsx,*.tsx'
|
||||
let g:closetag_regions = {
|
||||
\ 'typescript.tsx': 'jsxRegion,tsxRegion',
|
||||
\ 'javascript.jsx': 'jsxRegion',
|
||||
\ 'typescriptreact': 'jsxRegion,tsxRegion',
|
||||
\ 'javascriptreact': 'jsxRegion',
|
||||
\ }
|
||||
|
||||
" Ignore files inside .git directory by CtrlP
|
||||
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
|
||||
|
||||
lua << EOF
|
||||
require("gitsigns").setup {
|
||||
current_line_blame = true,
|
||||
current_line_blame_opts = {
|
||||
virt_text = true,
|
||||
virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
|
||||
delay = 500,
|
||||
},
|
||||
signcolumn = false,
|
||||
linehl = false,
|
||||
current_line_blame_formatter_opts = {
|
||||
relative_time = false
|
||||
}
|
||||
}
|
||||
require("gitabra").setup {}
|
||||
EOF
|
||||
Reference in New Issue
Block a user