From a5a100cff7244710db5f1307e1acb1625f9766c2 Mon Sep 17 00:00:00 2001 From: TiagoRG Date: Wed, 8 Nov 2023 19:33:59 +0000 Subject: [PATCH] 8/11 update Signed-off-by: TiagoRG --- .config/nvim/lua/tiagorg/init.lua | 2 -- .config/nvim/lua/tiagorg/remap.lua | 5 +---- .config/nvim/lua/tiagorg/set.lua | 3 +++ .zsh/.zshrc | 1 + 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.config/nvim/lua/tiagorg/init.lua b/.config/nvim/lua/tiagorg/init.lua index 80ec255..88d6876 100644 --- a/.config/nvim/lua/tiagorg/init.lua +++ b/.config/nvim/lua/tiagorg/init.lua @@ -1,4 +1,2 @@ require("tiagorg.set") require("tiagorg.remap") - -vim.g.copilot_node_command = "~/.nodenv/bin/nodenv" diff --git a/.config/nvim/lua/tiagorg/remap.lua b/.config/nvim/lua/tiagorg/remap.lua index 145daa6..ad28e60 100644 --- a/.config/nvim/lua/tiagorg/remap.lua +++ b/.config/nvim/lua/tiagorg/remap.lua @@ -40,7 +40,4 @@ vim.keymap.set("n", "", function() end) vim.keymap.set("n", "", "qa") ---vim.keymap.set("n", "", "tabclose") ---vim.keymap.set("n", "", "gt") ---vim.keymap.set("n", "", "tabprevious") ---vim.keymap.set("n", "", "tabnewNvimTreeFocus") +vim.keymap.set("n", "", "tabnewNvimTreeFocus") diff --git a/.config/nvim/lua/tiagorg/set.lua b/.config/nvim/lua/tiagorg/set.lua index 9fa9269..d0323da 100644 --- a/.config/nvim/lua/tiagorg/set.lua +++ b/.config/nvim/lua/tiagorg/set.lua @@ -28,4 +28,7 @@ vim.opt.updatetime = 50 vim.opt.colorcolumn = "0" +vim.g.copilot_node_command = "/usr/bin/nodenv" +vim.g.copilot_assume_mapped = true + vim.g.mapleader = " " diff --git a/.zsh/.zshrc b/.zsh/.zshrc index d79bba4..c236dd1 100644 --- a/.zsh/.zshrc +++ b/.zsh/.zshrc @@ -272,6 +272,7 @@ fi # NEOVIM FOR THE WIN! export EDITOR=nvim alias vim='nvim' +alias v='vim .' #alias vim='gnome-terminal --maximize --title "Neovim" -- nvim'