summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-05-26 13:12:09 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-05-26 13:12:09 +0200
commit1d58568902d269ad74a7047a9227ec857c6e7937 (patch)
tree596a2f59c2ad9297a8e5921f7290a85b91716039
parent2e2643ce277f901a365a9fc574864ca4d1af9ddf (diff)
remove colorscheme
add keybind for viewing buffers with telescope
-rw-r--r--after/plugin/telescope.lua2
-rw-r--r--lua/user/init.lua2
-rw-r--r--lua/user/lazy.lua3
-rw-r--r--lua/user/map.lua2
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', '<leader>ff', builtin.find_files)
-vim.keymap.set('n', '<leader>fb', builtin.buffers)
+vim.keymap.set('n', '<leader><leader>', builtin.buffers)
vim.keymap.set('n', '<leader>fg', builtin.git_files)
vim.keymap.set('n', '<leader>fw', builtin.live_grep)
vim.keymap.set("n", "<C-p>", "<cmd>Telescope git_files<cr>", { 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 '>+1<CR>gv=gv", { desc = "Move selected text up" })