diff --git a/fnl/options/keybind.fnl b/fnl/options/keybind.fnl index d1b4234..5151ced 100755 --- a/fnl/options/keybind.fnl +++ b/fnl/options/keybind.fnl @@ -15,6 +15,9 @@ (map! [n :noremap] :fh "Telescope help_tags") (map! [n :noremap] :fk "Telescope keymaps") +(map! [n :noremap] :tt "terminal") +(map! [n :noremap] : "bprev") + ; remap keys so that they dont skip camelCase (map! [n :noremap :silent] :w "CamelCaseMotion_w") (map! [n :noremap :silent] :b "CamelCaseMotion_b") diff --git a/fnl/options/opts.fnl b/fnl/options/opts.fnl index ee7b9f4..6b78674 100644 --- a/fnl/options/opts.fnl +++ b/fnl/options/opts.fnl @@ -28,6 +28,10 @@ (set! incsearch true) ; incramentally search (set! autoindent true) (set! wildmode "longest,list") +(set! inccommand :split) + +; (lua "opt.formatoptions:remove \"o\"") + (set! mouse :v) (set! mouse :a) ; (set! clipboard :unnamedplus) ; use system clipboard diff --git a/fnl/plugins/lazy.fnl b/fnl/plugins/lazy.fnl index b011f21..4198b20 100755 --- a/fnl/plugins/lazy.fnl +++ b/fnl/plugins/lazy.fnl @@ -1,8 +1,8 @@ (local lazypath (.. (vim.fn.stdpath :data) :/lazy/lazy.nvim)) (if (not (vim.loop.fs_stat lazypath)) - (vim.fn.system - [:git :clone :--filter=blob:none :https://github.com/folke/lazy.nvim.git :--branch=stable lazypath])) + (vim.fn.system + [:git :clone :--filter=blob:none :https://github.com/folke/lazy.nvim.git :--branch=stable lazypath])) (vim.opt.rtp:prepend lazypath)