Skip to content

Instantly share code, notes, and snippets.

View atchim's full-sized avatar
👾

Átila Gama Silva atchim

👾
View GitHub Profile
@atchim
atchim / node_motion.lua
Last active May 11, 2024 06:07
Neovim Tree-Sitter node motion
local api = vim.api
local ctrlv = api.nvim_replace_termcodes('<C-V>', true, true, true)
local function exit_vmode()
local mode = vim.fn.mode()
if mode == 'v' or mode == 'V' or mode == ctrlv then
vim.cmd('normal! ' .. mode)
end
end
@atchim
atchim / links.md
Created October 16, 2021 16:07
Useful links that I have collected.