-
Notifications
You must be signed in to change notification settings - Fork 0
/
neovim.nix
95 lines (86 loc) · 2.17 KB
/
neovim.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Neovim settings
{ config, lib, pkgs, ... }:
let
pkgsu = import <nixpkgsu> {};
in {
programs.neovim = {
enable = false;
# package = pkgsu.neovim;
# Sets alias vim=nvim
vimAlias = true;
withPython3 = false;
withRuby = false;
withNodeJs = false;
# extraConfig = ''
# :imap jk <Esc>
# :set number
# '';
# Neovim plugins
plugins = with pkgs.vimPlugins; [
# Syntax / Language Support ##########################
# (nvim-treesitter.withPlugins (p:
# [
# p.c
# p.java
# p.toml
# p.go
# p.gomod
# p.lua
# p.jsonc
# p.vim
# p.bash
# p.markdown
# ])
# )
# vim-nix
# pkgsu.vimPlugins.LazyVim
# # vim-ruby # ruby
# vim-go # go
# # vim-fish # fish
# vim-toml # toml
# # vim-gvpr # gvpr
# rust-vim # rust
# zig-vim
# vim-pandoc # pandoc (1/2)
# vim-pandoc-syntax # pandoc (2/2)
# yajs.vim # JS syntax
# es.next.syntax.vim # ES7 syntax
# vim-elixir
# vim-markdown
# UI #################################################
# gruvbox # colorscheme
# # vim-gitgutter # status in gutter
# vim-devicons
# vim-airline
# # Editor Features ####################################
# vim-abolish
# vim-surround # cs"'
# vim-repeat # cs"'...
# vim-commentary # gcap
# # vim-ripgrep
# vim-indent-object # >aI
# vim-easy-align # vipga
# vim-eunuch # :Rename foo.rb
# vim-sneak
# supertab
# vim-endwise # add end, } after opening block
# # gitv
# # tabnine-vim
# # ale # linting
# nerdtree
# # vim-toggle-quickfix
# # neosnippet.vim
# # neosnippet-snippets
# # splitjoin.vim
# nerdtree
# tabular
# ctrlp
# editorconfig-vim
# Buffer / Pane / File Management ####################
# fzf-vim # all the things
# Panes / Larger features ############################
# tagbar # <leader>5
# vim-fugitive # Gblame
];
};
}