diff options
| author | Mike Vink <ivi@vinkies.net> | 2023-10-30 13:21:42 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2023-10-30 13:21:42 +0100 |
| commit | 5ecb6fe32ca57c30b5507c63fe62c32581b2ddea (patch) | |
| tree | 2ef915b0af277c3ab8c55c8314d667a808eb77bd /mut | |
| parent | bd6e95a80848e504c6cfdc389a9fe45404632a23 (diff) | |
add rust template
Diffstat (limited to 'mut')
| -rw-r--r-- | mut/neovim/fnl/conf/init.fnl | 4 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/pkgs/cmp.fnl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl index 689769d..2b658b8 100644 --- a/mut/neovim/fnl/conf/init.fnl +++ b/mut/neovim/fnl/conf/init.fnl @@ -27,7 +27,7 @@ {:mappings {:i {"<C-a>" actions.select_all}}})}) -(local cope #(vim.cmd (.. ":copen " (math.floor (/ vim.o.lines 2.6))))) +(local cope #(vim.cmd (.. ":copen " (math.floor (/ vim.o.lines 2.1))))) (let [map vim.keymap.set] (map :v :y "<Plug>OSCYankVisual|gvy") (map :n :<leader>qf cope) @@ -121,7 +121,7 @@ (if (not= (vim.fn.winnr) winnr) (do (vim.notify "going back") - (vim.cmd "wincmd p")))) + (vim.cmd "wincmd p | cbot")))) (vim.notify (.. "\"" cmd "\" succeeded!"))))})) (set last_job diff --git a/mut/neovim/fnl/conf/pkgs/cmp.fnl b/mut/neovim/fnl/conf/pkgs/cmp.fnl index 0a22f23..a60ee02 100644 --- a/mut/neovim/fnl/conf/pkgs/cmp.fnl +++ b/mut/neovim/fnl/conf/pkgs/cmp.fnl @@ -50,7 +50,7 @@ :<C-f> (cmp.mapping.scroll_docs 4) :<C-j> (cmp.mapping.complete) :<CR> (cmp.mapping.confirm {:behavior (enum :ConfirmBehavior - :Replace) + :Insert) :select true})} :sources (cmp.config.sources [{:name :nvim_lsp} {:name :path} |
