diff options
author | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-17 09:00:28 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-17 09:00:28 +0200 |
commit | f9c022399a35558fe7f997dbeab3c26d7f955992 (patch) | |
tree | 30dfed56d752ff779da584ab502e9a3bda952215 /fnl/settings | |
parent | a45853f468feb2be399a587664df7f4872816b53 (diff) | |
parent | f3432fc8f42246ac26f90146f13045377bc3899e (diff) |
Merge branch 'master' of github.com:aktersnurra/nvim
Diffstat (limited to 'fnl/settings')
-rw-r--r-- | fnl/settings/keymaps.fnl | 13 | ||||
-rw-r--r-- | fnl/settings/options.fnl | 3 |
2 files changed, 4 insertions, 12 deletions
diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl index 8c3f046..83b9917 100644 --- a/fnl/settings/keymaps.fnl +++ b/fnl/settings/keymaps.fnl @@ -9,14 +9,6 @@ (set nvim.g.mapleader " ") (set nvim.g.maplocalleader " ") -;; Modes -;; normal_mode = "n" -;; insert_mode = "i" -;; visual_mode = "v" -;; visual_block_mode = "x" -;; term_mode = "t" -;; command_mode = "c" - ;; Normal ;; ;; Better window navigation (map :n :<C-h> :<C-w>h opts) @@ -30,10 +22,6 @@ (map :n :<C-Left> ":vertical resize -2<CR>" opts) (map :n :<C-Right> ":vertical resize +2<CR>" opts) -;; Navigate buffers -;; (map :n :<tab> ":bnext<CR>" opts) -;; (map :n :<S-tab> ":bprevious<CR>" opts) - ;; Visual ;; ;; Stay in indent mode (map :v "<" :<gv opts) @@ -59,3 +47,4 @@ (map :n :<m-n> :<cmd>nohlsearch<CR> opts) (map :n :Q "<cmd>:q<CR>" opts) +(map :n "-" "<cmd>:Explore<cr>" opts) diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl index 0a1a254..bc82be7 100644 --- a/fnl/settings/options.fnl +++ b/fnl/settings/options.fnl @@ -88,3 +88,6 @@ (nvim.ex.set :formatoptions-=cro) (nvim.ex.set :colorcolumn=80) (nvim.ex.set :shortmess+=c) +(set vim.g.netrw_browse_split 0) +(set vim.g.netrw_banner 0) +(set vim.g.netrw_winsize 25) |