This commit is contained in:
Јован Ђокић-Шумарац 2024-08-14 16:19:09 +02:00
parent ca0d4faec4
commit bde11a8bd6
No known key found for this signature in database
3 changed files with 9 additions and 2 deletions

View file

@ -15,6 +15,9 @@
(map! [n :noremap] :<leader>fh "<cmd>Telescope help_tags<CR>") (map! [n :noremap] :<leader>fh "<cmd>Telescope help_tags<CR>")
(map! [n :noremap] :<leader>fk "<cmd>Telescope keymaps<CR>") (map! [n :noremap] :<leader>fk "<cmd>Telescope keymaps<CR>")
(map! [n :noremap] :<leader>tt "<cmd>terminal<CR>")
(map! [n :noremap] :<C-Space> "<cmd>bprev<CR>")
; remap keys so that they dont skip camelCase ; remap keys so that they dont skip camelCase
(map! [n :noremap :silent] :w "<Plug>CamelCaseMotion_w") (map! [n :noremap :silent] :w "<Plug>CamelCaseMotion_w")
(map! [n :noremap :silent] :b "<Plug>CamelCaseMotion_b") (map! [n :noremap :silent] :b "<Plug>CamelCaseMotion_b")

View file

@ -28,6 +28,10 @@
(set! incsearch true) ; incramentally search (set! incsearch true) ; incramentally search
(set! autoindent true) (set! autoindent true)
(set! wildmode "longest,list") (set! wildmode "longest,list")
(set! inccommand :split)
; (lua "opt.formatoptions:remove \"o\"")
(set! mouse :v) (set! mouse :v)
(set! mouse :a) (set! mouse :a)
; (set! clipboard :unnamedplus) ; use system clipboard ; (set! clipboard :unnamedplus) ; use system clipboard

View file

@ -1,8 +1,8 @@
(local lazypath (.. (vim.fn.stdpath :data) :/lazy/lazy.nvim)) (local lazypath (.. (vim.fn.stdpath :data) :/lazy/lazy.nvim))
(if (not (vim.loop.fs_stat lazypath)) (if (not (vim.loop.fs_stat lazypath))
(vim.fn.system (vim.fn.system
[:git :clone :--filter=blob:none :https://github.com/folke/lazy.nvim.git :--branch=stable lazypath])) [:git :clone :--filter=blob:none :https://github.com/folke/lazy.nvim.git :--branch=stable lazypath]))
(vim.opt.rtp:prepend lazypath) (vim.opt.rtp:prepend lazypath)