From 1d58568902d269ad74a7047a9227ec857c6e7937 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 26 May 2024 13:12:09 +0200 Subject: remove colorscheme add keybind for viewing buffers with telescope --- after/plugin/telescope.lua | 2 +- lua/user/init.lua | 2 -- lua/user/lazy.lua | 3 --- lua/user/map.lua | 2 +- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua index 55e9586..a45d5fb 100644 --- a/after/plugin/telescope.lua +++ b/after/plugin/telescope.lua @@ -23,7 +23,7 @@ require('telescope').setup({ local builtin = require('telescope.builtin') vim.keymap.set('n', 'ff', builtin.find_files) -vim.keymap.set('n', 'fb', builtin.buffers) +vim.keymap.set('n', '', builtin.buffers) vim.keymap.set('n', 'fg', builtin.git_files) vim.keymap.set('n', 'fw', builtin.live_grep) vim.keymap.set("n", "", "Telescope git_files", { desc = "Find git files" }) diff --git a/lua/user/init.lua b/lua/user/init.lua index 2b94d59..5892f74 100644 --- a/lua/user/init.lua +++ b/lua/user/init.lua @@ -27,5 +27,3 @@ autocmd({ "BufWritePre" }, { vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p") end, }) - -vim.cmd("colorscheme nord") diff --git a/lua/user/lazy.lua b/lua/user/lazy.lua index 8c4fc3d..8671a69 100644 --- a/lua/user/lazy.lua +++ b/lua/user/lazy.lua @@ -52,9 +52,6 @@ require("lazy").setup({ -- integration with tmux keybinds "christoomey/vim-tmux-navigator", - -- nord color theme - "shaunsingh/nord.nvim", - -- auto close brackets "m4xshen/autoclose.nvim", diff --git a/lua/user/map.lua b/lua/user/map.lua index 7bcee2f..ebcd2ca 100644 --- a/lua/user/map.lua +++ b/lua/user/map.lua @@ -2,7 +2,7 @@ local map = vim.keymap.set -- Leader vim.g.mapleader = " " -vim.g.maplocalleader = ";" +vim.g.maplocalleader = "," -- Move text easilly map("v", "J", ":m '>+1gv=gv", { desc = "Move selected text up" }) -- cgit v1.2.3