feat: effectively finish nvf as ide #10
This commit is contained in:
parent
ab4113b74d
commit
3f82161bae
16 changed files with 564 additions and 53 deletions
17
users/modules/programs/nvf/filetree.nix
Normal file
17
users/modules/programs/nvf/filetree.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
programs.nvf.settings.vim.filetree = {
|
||||
# press ? in the tree view for a list of keybindings
|
||||
# < and > to switch sources
|
||||
# backspace to go up one level
|
||||
neo-tree = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
enable_cursor_hijack = true; # keep the cursor on the first char
|
||||
};
|
||||
};
|
||||
# TODO: add keymap for :NeoTree action=show position=right toggle=true reveal=true
|
||||
# action=show is to not focus the window
|
||||
# toggle will toggle the window
|
||||
# reveal will find and focus the current file
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue