mirror of
https://github.com/gyoder/dots.git
synced 2026-02-28 01:13:44 +00:00
Compare commits
No commits in common. "5ef027ef6d7a89974dea32c4924797d28cb236ae" and "f7dff4be791fd46ba46d16301252b2daac91bb7f" have entirely different histories.
5ef027ef6d
...
f7dff4be79
4 changed files with 10 additions and 14 deletions
|
|
@ -1 +0,0 @@
|
||||||
source "$HOME/.cargo/env.fish"
|
|
||||||
|
|
@ -150,11 +150,14 @@ if vim.env.TMUX ~= nil then
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if vim.treesitter.language.ft_to_lang == nil then
|
|
||||||
vim.treesitter.language.ft_to_lang = function(ft)
|
|
||||||
return ft
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- https://simondalvai.org/blog/godot-neovim/
|
-- https://simondalvai.org/blog/godot-neovim/
|
||||||
require("godot")
|
require("godot")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if not vim.g.is_purdue then
|
||||||
|
-- Enable experimental UI in neovim-nightly
|
||||||
|
require('vim._extui').enable({})
|
||||||
|
end
|
||||||
|
|
|
||||||
|
|
@ -31,13 +31,13 @@ return require('packer').startup(function(use)
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim', tag = '0.1.x',
|
||||||
requires = { { 'nvim-lua/plenary.nvim' } }
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
-- config = function() require("plugins/ts") end
|
config = function() require("plugins/ts") end
|
||||||
}
|
}
|
||||||
|
|
||||||
use 'mbbill/undotree'
|
use 'mbbill/undotree'
|
||||||
|
|
|
||||||
|
|
@ -31,12 +31,6 @@ vim.keymap.set("n", "<leader>qf", vim.lsp.buf.format)
|
||||||
vim.keymap.set("n", "<leader>dd", vim.diagnostic.open_float)
|
vim.keymap.set("n", "<leader>dd", vim.diagnostic.open_float)
|
||||||
|
|
||||||
|
|
||||||
vim.keymap.set("n", "yf", function()
|
|
||||||
local view = vim.fn.winsaveview()
|
|
||||||
vim.cmd("%y")
|
|
||||||
vim.fn.winrestview(view)
|
|
||||||
end, { desc = "Yank entire file" })
|
|
||||||
|
|
||||||
|
|
||||||
-------- PLUGINS -------
|
-------- PLUGINS -------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue