mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
Compare commits
6 commits
f7dff4be79
...
5ef027ef6d
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ef027ef6d | |||
| 10211e502c | |||
| 8d1ade2704 | |||
| 515241c264 | |||
| a91ca5acc1 | |||
| b33eac0dcf |
4 changed files with 14 additions and 10 deletions
1
fish/.config/fish/conf.d/rustup.fish
Normal file
1
fish/.config/fish/conf.d/rustup.fish
Normal file
|
|
@ -0,0 +1 @@
|
|||
source "$HOME/.cargo/env.fish"
|
||||
|
|
@ -150,14 +150,11 @@ if vim.env.TMUX ~= nil then
|
|||
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/
|
||||
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
|
||||
}
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.x',
|
||||
'nvim-telescope/telescope.nvim',
|
||||
requires = { { 'nvim-lua/plenary.nvim' } }
|
||||
}
|
||||
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
config = function() require("plugins/ts") end
|
||||
-- config = function() require("plugins/ts") end
|
||||
}
|
||||
|
||||
use 'mbbill/undotree'
|
||||
|
|
|
|||
|
|
@ -31,6 +31,12 @@ vim.keymap.set("n", "<leader>qf", vim.lsp.buf.format)
|
|||
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 -------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue