diff --git a/fish/functions/fish_user_key_bindings.fish b/fish/functions/fish_user_key_bindings.fish index 7c818eb..3ec7300 100644 --- a/fish/functions/fish_user_key_bindings.fish +++ b/fish/functions/fish_user_key_bindings.fish @@ -1,3 +1,3 @@ function ll --description 'List contents of directory using long format' - ls -lha $argv + exa --icons -l $argv end diff --git a/fish/functions/ll.fish b/fish/functions/ll.fish index 7c818eb..c438940 100644 --- a/fish/functions/ll.fish +++ b/fish/functions/ll.fish @@ -1,3 +1,3 @@ function ll --description 'List contents of directory using long format' - ls -lha $argv + exa --icons -l -g $argv end diff --git a/nvim/init.lua b/nvim/init.lua index 7285adc..de07fc6 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -154,8 +154,8 @@ map("n", "", "5-", {noremap = true}) map("n", "", "5+", {noremap = true}) map("n", "", "5>", {noremap = true}) -- quickfix window -map("n", "", ":cp", {noremap = true}) -map("n", "", ":cn", {noremap = true}) +map("n", "", ":cp", {noremap = true}) +map("n", "", ":cn", {noremap = true}) -- remove buffer map("n", "", ":bprev:bd#", {noremap = true}) map("n", "", ":bprev:bd!#", {noremap = true}) @@ -302,7 +302,7 @@ require("packer").startup { "junegunn/seoul256.vim", config = function() vim.g.seoul256_background = 235 end } - vim.cmd "colorscheme nord" + vim.cmd "colorscheme one" -- coloring of colornames use { @@ -362,15 +362,6 @@ require("packer").startup { end } - use { - "mbbill/undotree", - config = function() - local map = vim.api.nvim_set_keymap - map("", "", ":UndotreeToggle:UndotreeFocus", - {noremap = true}) - end - } - use { "iamcco/markdown-preview.nvim", -- requires yarn run = "cd /home/hjalmarlucius/.local/share/nvim/site/pack/packer/start/markdown-preview && yarn install", @@ -419,9 +410,9 @@ require("packer").startup { {noremap = true, silent = true}) map("n", "", ":BufferLineCycleNext", {noremap = true, silent = true}) - map("n", "", ":BufferLineMovePrev", + map("n", "", ":BufferLineMovePrev", {noremap = true, silent = true}) - map("n", "", ":BufferLineMoveNext", + map("n", "", ":BufferLineMoveNext", {noremap = true, silent = true}) end } @@ -624,7 +615,7 @@ require("packer").startup { MAYBE = {icon = " ", color = "default"}, IDEA = {icon = " ", color = "hint"} }, - merge_keywords = true, -- when true, custom keywords will be merged with the defaults + merge_keywords = false, -- when true, custom keywords will be merged with the defaults highlight = {keyword = "bg", pattern = [[<(KEYWORDS)\s*]]}, search = {pattern = [[\b(KEYWORDS)\b]]}, colors = { @@ -668,10 +659,10 @@ require("packer").startup { bmap(bufnr, "n", "", "lua vim.diagnostic.show_line_diagnostics({show_header=false})", opts) - bmap(bufnr, "n", "", + bmap(bufnr, "n", "", "lua vim.diagnostic.goto_next({severity_limit='Warning', popup_opts={show_header=false}})", opts) - bmap(bufnr, "n", "", + bmap(bufnr, "n", "", "lua vim.diagnostic.goto_prev({severity_limit='Warning', popup_opts={show_header=false}})", opts) -- popups