Update filenames to follow new convention.
This commit is contained in:
parent
ec1c3f5c39
commit
187e8a48cf
|
@ -1,4 +1,4 @@
|
|||
export _gdconf_path="${HOME}/.config/linux/gnome.dconf"
|
||||
export _gdconf_path="${HOME}/.config/linux/Gnome.dconf"
|
||||
|
||||
# Load Gnome settings.
|
||||
function dconf_load() {
|
|
@ -1,24 +1,24 @@
|
|||
require("key/leader")
|
||||
require("key/Leader")
|
||||
|
||||
require("plugin/init")
|
||||
require("plugin/Init")
|
||||
|
||||
require("config/autoread")
|
||||
require("config/search")
|
||||
require("config/tab")
|
||||
require("config/etc")
|
||||
require("config/Autoread")
|
||||
require("config/Search")
|
||||
require("config/Tab")
|
||||
require("config/Etc")
|
||||
|
||||
require("key/filetree")
|
||||
require("key/lsp")
|
||||
require("key/whichkey")
|
||||
require("key/navigation")
|
||||
require("key/comment")
|
||||
require("key/gitsigns")
|
||||
require("key/trouble")
|
||||
require("key/terminal")
|
||||
require("key/autocomplete")
|
||||
require("key/telescope")
|
||||
require("key/common")
|
||||
require("key/todo")
|
||||
require("key/fold")
|
||||
require("key/update")
|
||||
require("key/macro")
|
||||
require("key/Filetree")
|
||||
require("key/Lsp")
|
||||
require("key/Whichkey")
|
||||
require("key/Navigation")
|
||||
require("key/Comment")
|
||||
require("key/Gitsigns")
|
||||
require("key/Trouble")
|
||||
require("key/Terminal")
|
||||
require("key/Autocomplete")
|
||||
require("key/Telescope")
|
||||
require("key/Common")
|
||||
require("key/Todo")
|
||||
require("key/Fold")
|
||||
require("key/Update")
|
||||
require("key/Macro")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_input('<C-Space>', '<C-n>') -- autocomplete.
|
||||
rekey_normal('<C-Space>', '<cmd>lua vim.lsp.buf.code_action()<cr>') -- LSP autocomplete.
|
|
@ -1,4 +1,4 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>.', '@:') -- repeat command.
|
||||
rekey_visual('<Leader>.', '@:') -- repeat command.
|
|
@ -1,3 +1,3 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>1', '<cmd>NvimTreeToggle<cr>') -- toggle file tree.
|
|
@ -1,4 +1,4 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
remap_normal('<Leader>o', 'za') -- toggle fold.
|
||||
remap_normal('<Leader>O', 'zM') -- fold everything.
|
|
@ -1,3 +1,3 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>g', '<cmd>Gitsigns toggle_current_line_blame<cr><cmd>Gitsigns toggle_word_diff<cr><cmd>Gitsigns toggle_linehl<cr>') -- toggle git inspection mode.
|
|
@ -1,4 +1,4 @@
|
|||
require("key/rekey")
|
||||
require("key/Rekey")
|
||||
|
||||
leader = " "
|
||||
|
1
.config/nvim/lua/key/Lsp.lua
Normal file
1
.config/nvim/lua/key/Lsp.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require('key/Rekey')
|
|
@ -1,4 +1,4 @@
|
|||
require("key/rekey")
|
||||
require("key/Rekey")
|
||||
|
||||
-- wraps.
|
||||
rekey_visual("mwx", "s<delete><backspace><esc>p") -- unwrap once (select only stuff inside).
|
|
@ -1,4 +1,4 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
-- switch windows.
|
||||
rekey_normal('<Leader>w', '<C-w>k')
|
|
@ -1,4 +1,4 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>ff', '<cmd>lua require("telescope.builtin").find_files()<cr>')
|
||||
rekey_normal('<Leader>fg', '<cmd>lua require("telescope.builtin").live_grep()<cr>')
|
|
@ -1,4 +1,4 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>4', '<cmd>terminal<cr>')
|
||||
rekey_terminal('<Esc>', '<C-\\><C-n>')
|
|
@ -1,3 +1,3 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>3', '<cmd>TroubleToggle todo<cr>')
|
|
@ -1,3 +1,3 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>2', '<cmd>TroubleToggle document_diagnostics<cr>')
|
|
@ -1,3 +1,3 @@
|
|||
require('key/rekey')
|
||||
require('key/Rekey')
|
||||
|
||||
rekey_normal('<Leader>0', '<cmd>WhichKey<cr>')
|
|
@ -1 +0,0 @@
|
|||
require('key/rekey')
|
|
@ -59,26 +59,26 @@ return require("packer").startup(function(use)
|
|||
local treesitter = true
|
||||
|
||||
-- plugin setup.
|
||||
require("plugin/mason")
|
||||
require("plugin/lsp/init")
|
||||
require("plugin/filetree")
|
||||
require("plugin/bufferline")
|
||||
require("plugin/lualine")
|
||||
require("plugin/autoclose")
|
||||
require("plugin/gitsigns")
|
||||
require("plugin/trouble")
|
||||
require("plugin/tokyonight")
|
||||
require("plugin/gruvbox")
|
||||
require("plugin/closebuffers")
|
||||
require("plugin/telescope")
|
||||
require("plugin/todo")
|
||||
require("plugin/indent")
|
||||
require("plugin/align")
|
||||
require("plugin/Mason")
|
||||
require("plugin/lsp/Init")
|
||||
require("plugin/Filetree")
|
||||
require("plugin/Bufferline")
|
||||
require("plugin/Lualine")
|
||||
require("plugin/Autoclose")
|
||||
require("plugin/Gitsigns")
|
||||
require("plugin/Trouble")
|
||||
require("plugin/Tokyonight")
|
||||
require("plugin/Gruvbox")
|
||||
require("plugin/Closebuffers")
|
||||
require("plugin/Telescope")
|
||||
require("plugin/Todo")
|
||||
require("plugin/Indent")
|
||||
require("plugin/Align")
|
||||
|
||||
if available({"g++"}) then
|
||||
if treesitter then
|
||||
require("plugin/treesitter")
|
||||
require("plugin/fold")
|
||||
require("plugin/Treesitter")
|
||||
require("plugin/Fold")
|
||||
end
|
||||
end
|
||||
end)
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue