Add nvim copilot
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
|
||||
aliases = {
|
||||
st = "status";
|
||||
ci = "commit";
|
||||
@ -22,6 +22,7 @@
|
||||
editor = "nvim";
|
||||
};
|
||||
push.default = "matching";
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -33,6 +33,8 @@
|
||||
cmp-git
|
||||
nvim-lspconfig
|
||||
lspkind-nvim
|
||||
copilot-lua
|
||||
copilot-cmp
|
||||
(nvim-treesitter.withPlugins (p: [ p.awk p.bash p.c p.c_sharp p.cpp p.css p.diff p.dockerfile p.doxygen p.git_config p.gitcommit p.go p.gomod p.gosum p.gotmpl p.helm p.haskell p.html p.http p.java p.javascript p.json p.latex p.lua p.markdown p.markdown_inline p.matlab p.nix p.printf p.python p.regex p.rust p.sql p.strace p.supercollider p.svelte p.swift p.terraform p.tmux p.toml p.typescript p.vim p.xml p.yaml p.zig ]))
|
||||
];
|
||||
|
||||
@ -46,5 +48,9 @@
|
||||
(lib.strings.fileContents ../../nvim/plugins.lua)
|
||||
];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
nodejs-slim
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@ -7,8 +7,10 @@
|
||||
mouse = true;
|
||||
keyMode = "vi";
|
||||
escapeTime = 0;
|
||||
terminal = "screen-256color";
|
||||
tmuxp.enable = true;
|
||||
# newSession = true;
|
||||
extraConfig = ''
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g display-time 1500
|
||||
|
||||
unbind S
|
||||
|
||||
Reference in New Issue
Block a user