non important commit
This commit is contained in:
parent
2dc2799d2b
commit
7658f1a4a1
2 changed files with 23 additions and 2 deletions
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
options = {
|
||||
tabstop = 2;
|
||||
expandtab = false;
|
||||
autoindent = true;
|
||||
shiftwidth = 2;
|
||||
};
|
||||
|
|
@ -99,8 +100,8 @@
|
|||
autopairs.nvim-autopairs.enable = true;
|
||||
|
||||
autocomplete = {
|
||||
nvim-cmp.enable = false;
|
||||
blink-cmp.enable = true;
|
||||
nvim-cmp.enable = true;
|
||||
blink-cmp.enable = false;
|
||||
};
|
||||
|
||||
snippets.luasnip.enable = true;
|
||||
|
|
|
|||
|
|
@ -77,6 +77,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
def --env fzf-nvim [] {
|
||||
let file = (fd -t f -L . | fzf --reverse --height 40% --border rounded --preview=("bat -p -P {}") --preview-window=border-left)
|
||||
if $file != null and $file != "" {
|
||||
nvim $file
|
||||
}
|
||||
}
|
||||
|
||||
$env.config.keybindings = ($env.config.keybindings | append {
|
||||
name: "fzf-cd"
|
||||
modifier: "control"
|
||||
|
|
@ -89,6 +96,19 @@
|
|||
}
|
||||
]
|
||||
})
|
||||
|
||||
$env.config.keybindings = ($env.config.keybindings | append {
|
||||
name: "fzf-nvim"
|
||||
modifier: "control"
|
||||
keycode: "char_e"
|
||||
mode: "emacs"
|
||||
event: [
|
||||
{
|
||||
send: "executehostcommand"
|
||||
cmd: 'fzf-nvim'
|
||||
}
|
||||
]
|
||||
})
|
||||
'';
|
||||
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue