diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-01-24 22:51:30 +0100 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-01-24 22:51:30 +0100 |
| commit | 43e44b42d95b8cc6f3f04aebb7edabe14a114fa7 (patch) | |
| tree | 22fec1896cc2b764a3b60114ba681d3f3600f1df | |
| parent | 3e7a7ac697a47c9e76ff0637757ebed84a744c96 (diff) | |
bindings for quickfix and locationlist
| -rw-r--r-- | fnl/conf/init.fnl | 10 | ||||
| -rw-r--r-- | fnl/conf/pkgs.fnl | 2 | ||||
| -rw-r--r-- | fnl/conf/settings.fnl | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/fnl/conf/init.fnl b/fnl/conf/init.fnl index 40b7210..cb23f0b 100644 --- a/fnl/conf/init.fnl +++ b/fnl/conf/init.fnl @@ -9,3 +9,13 @@ (require :conf.events) (require :conf.diagnostic) + +(let [map vim.keymap.set] + (map :n :<leader>qo ":copen<cr>") + (map :n :<leader>qc ":cclose<cr>") + (map :n :<leader>lo ":lopen<cr>") + (map :n :<leader>lc ":lclose<cr>") + (map :n "<leader>[q" ":cprevious<cr>") + (map :n "<leader>]q" ":cnext<cr>") + (map :n "<leader>[x" ":lprevious<cr>") + (map :n "<leader>]x" ":lnext<cr>")) diff --git a/fnl/conf/pkgs.fnl b/fnl/conf/pkgs.fnl index 6d1a307..a126eca 100644 --- a/fnl/conf/pkgs.fnl +++ b/fnl/conf/pkgs.fnl @@ -1,7 +1,5 @@ (require :conf.pkgs.cmp) -;; seems broken: (require :conf.pkgs.neotest) - (require :conf.pkgs.null-ls) (require :conf.pkgs.lspconfig) (require :conf.pkgs.treesitter) diff --git a/fnl/conf/settings.fnl b/fnl/conf/settings.fnl index ee8ea2f..9b63659 100644 --- a/fnl/conf/settings.fnl +++ b/fnl/conf/settings.fnl @@ -16,12 +16,12 @@ loaded_tohtml false loaded_tutor false loaded_zipPlugin false - + mapleader " " maplocalleader " " dirvish_mode ":sort | sort ,^.*[^/]$, r") -(settings +(settings +shortmess "c" +diffopt vertical +isfname "@-@" |
