mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-22 07:58:49 +01:00
customized nix confi
This commit is contained in:
parent
a3ecf9bb2d
commit
cc568a7c92
1 changed files with 28 additions and 12 deletions
|
@ -10,24 +10,40 @@
|
||||||
coc = { enable = true; };
|
coc = { enable = true; };
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set title
|
set title
|
||||||
|
set ignorecase
|
||||||
set number
|
set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
set cursorline
|
set cursorline
|
||||||
set mouse=a
|
set mouse=a
|
||||||
syntax enable
|
|
||||||
let g:NERDTreeShowHidden = 1
|
set undodir=~/.cache/vim/
|
||||||
let g:NERDTreeMinimalUI = 1
|
set undofile
|
||||||
let g:NERDTreeIgnore = [ '.git/' ]
|
set undolevels=100
|
||||||
let g:NERDTreeStatusline = ""
|
set undoreload=1000
|
||||||
let g:NERDTreeMouseMode = 2
|
|
||||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
set foldmethod=expr
|
||||||
nnoremap <silent> <C-b> :NERDTreeToggle<CR>
|
set foldexpr=nvim_treesitter#foldexpr()
|
||||||
|
set foldnestmax=0
|
||||||
'';
|
'';
|
||||||
|
extraLuaConfig = ''
|
||||||
|
-- disable netrw at the very start of your init.lua
|
||||||
|
vim.g.loaded_netrw = 1
|
||||||
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
|
||||||
|
-- set termguicolors to enable highlight groups
|
||||||
|
vim.opt.termguicolors = true
|
||||||
|
vim.opt.background = "dark"
|
||||||
|
|
||||||
|
-- empty setup using defaults
|
||||||
|
require("nvim-tree").setup()
|
||||||
|
'';
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
nerdtree
|
editorconfig-vim
|
||||||
vim-devicons
|
nvim-tree-lua
|
||||||
# fzf
|
nvim-treesitter.withAllGrammars
|
||||||
ale
|
vim-nix
|
||||||
|
nvim-lspconfig
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue