Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go to defaults #592

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
feat(cfg): enable auto install of treesitter languages
feat(cfg): remove unusual keybinding, since it alredy exist
- <leader>rn (rename)
  • Loading branch information
EGRrqq committed Sep 21, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e1eb5998443061ac311532753cc06f404a2d6229
5 changes: 1 addition & 4 deletions init.lua
Original file line number Diff line number Diff line change
@@ -331,7 +331,7 @@ require('nvim-treesitter.configs').setup {
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim' },

-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,
auto_install = true,

highlight = { enable = true },
indent = { enable = true },
@@ -576,6 +576,3 @@ vim.keymap.set("n", "<leader>j", "<cmd>lprev<CR>zz")

-- delete without buffer
vim.keymap.set("x", "<leader>p", [["_dP]])

-- replace current word
vim.keymap.set("n", "<leader>s", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]])