Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrodgers42 committed Feb 22, 2024
1 parent 604626b commit eaee357
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ local nmaps = {
{ '<leader>e', 'lua vim.diagnostic.open_float()' },
{ '<leader>fa', 'lua require("telescope").extensions.aerial.aerial()' },
{ '<leader>fb', 'lua require("telescope.builtin").buffers()' },
{ '<leader>ff', 'lua require("telescope.builtin").find_files({no_ignore=true})' },
{ '<leader>ff', 'lua require("telescope.builtin").find_files({no_ignore=true, hidden=true})' },
{ '<leader>fg', 'lua require("telescope.builtin").live_grep()' },
{ '<leader>fh', 'lua require("telescope.builtin").help_tags()' },
{ '<leader>fj', '%!jq' },
Expand Down Expand Up @@ -773,6 +773,7 @@ if in_wsl then
}
end

vim.api.nvim_create_user_command("SplitCommand", [[:'<,'>s/\s-/ \\\r -/g]], {range=true})
vim.cmd [[
" Recognize glsl
au BufNewFile,BufRead *.frag set filetype=glsl
Expand Down

0 comments on commit eaee357

Please sign in to comment.