Merge branch 'lazypm' of https://git.terminallychill.xyz/clint/dotfiles into lazypm
This commit is contained in:
commit
96bb39193c
|
@ -18,6 +18,7 @@ wk.register({
|
||||||
name = "+git",
|
name = "+git",
|
||||||
g = "LazyGit",
|
g = "LazyGit",
|
||||||
f = "Git Files",
|
f = "Git Files",
|
||||||
|
b = "Git Blame",
|
||||||
},
|
},
|
||||||
-- Misc
|
-- Misc
|
||||||
c = "Change Color Scheme",
|
c = "Change Color Scheme",
|
||||||
|
|
|
@ -66,6 +66,7 @@ keymap("n", "<leader>s", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]],
|
||||||
-- Git
|
-- Git
|
||||||
keymap('n', '<Leader>gg', ':LazyGit<CR>', default_ops)
|
keymap('n', '<Leader>gg', ':LazyGit<CR>', default_ops)
|
||||||
keymap('n', '<Leader>gf', ':Telescope git_files<CR>', default_ops)
|
keymap('n', '<Leader>gf', ':Telescope git_files<CR>', default_ops)
|
||||||
|
keymap('n', '<Leader>gb', ':Gitsigns toggle_deleted<CR>', default_ops)
|
||||||
|
|
||||||
-- File Explorer
|
-- File Explorer
|
||||||
keymap('n', '<Leader>e', ':NeoTreeFocusToggle<CR>', default_ops)
|
keymap('n', '<Leader>e', ':NeoTreeFocusToggle<CR>', default_ops)
|
||||||
|
|
|
@ -29,7 +29,3 @@ vim.g.slime_default_config = {
|
||||||
socket_name = vim.api.nvim_eval('get(split($TMUX, ","), 0)'),
|
socket_name = vim.api.nvim_eval('get(split($TMUX, ","), 0)'),
|
||||||
target_pane = "{bottom}",
|
target_pane = "{bottom}",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Airline
|
|
||||||
vim.g.airline_powerline_fonts = 1
|
|
||||||
vim.g.airline_extensions_tabline_enabled = 1
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'auto',
|
-- theme = 'auto',
|
||||||
component_separators = { left = '', right = ''},
|
theme = 'gruvbox',
|
||||||
section_separators = { left = '', right = ''},
|
component_separators = { left = '', right = '' },
|
||||||
|
section_separators = { left = '', right = '' },
|
||||||
disabled_filetypes = {
|
disabled_filetypes = {
|
||||||
statusline = {},
|
statusline = {},
|
||||||
winbar = {},
|
winbar = {},
|
||||||
|
@ -18,26 +19,25 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = {'mode'},
|
lualine_a = { 'mode' },
|
||||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
lualine_b = { 'branch', 'diff', 'diagnostics' },
|
||||||
lualine_c = {'filename'},
|
lualine_c = { { 'filename', path = 1, file_status = true } },
|
||||||
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
lualine_x = { 'encoding', 'fileformat', },
|
||||||
lualine_y = {'progress'},
|
lualine_y = { 'filetype' },
|
||||||
lualine_z = {'location'}
|
lualine_z = {}
|
||||||
},
|
},
|
||||||
inactive_sections = {
|
inactive_sections = {
|
||||||
lualine_a = {},
|
lualine_a = {},
|
||||||
lualine_b = {},
|
lualine_b = {},
|
||||||
lualine_c = {'filename'},
|
lualine_c = { 'filename' },
|
||||||
lualine_x = {'location'},
|
lualine_x = { 'location' },
|
||||||
lualine_y = {},
|
lualine_y = {},
|
||||||
lualine_z = {}
|
lualine_z = {}
|
||||||
},
|
},
|
||||||
tabline = {
|
tabline = {
|
||||||
lualine_a = {'buffers'}
|
lualine_a = { 'buffers' }
|
||||||
},
|
},
|
||||||
winbar = {},
|
winbar = {},
|
||||||
inactive_winbar = {},
|
inactive_winbar = {},
|
||||||
extensions = {}
|
extensions = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,12 +37,12 @@ return {
|
||||||
|
|
||||||
{ 'ayu-theme/ayu-vim' },
|
{ 'ayu-theme/ayu-vim' },
|
||||||
{ 'morhetz/gruvbox' },
|
{ 'morhetz/gruvbox' },
|
||||||
{ 'dikiaap/minimalist' },
|
|
||||||
{ 'jacoborus/tender.vim' },
|
{ 'jacoborus/tender.vim' },
|
||||||
{ 'jpo/vim-railscasts-theme' },
|
{ 'jpo/vim-railscasts-theme' },
|
||||||
{ 'rainux/vim-desert-warm-256' },
|
{ 'rainux/vim-desert-warm-256' },
|
||||||
{ 'ajmwagar/vim-deus' },
|
{ 'ajmwagar/vim-deus' },
|
||||||
{ "rebelot/kanagawa.nvim" },
|
{ "rebelot/kanagawa.nvim" },
|
||||||
|
{ "glepnir/oceanic-material" },
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
-- Utility
|
-- Utility
|
||||||
|
@ -50,6 +50,19 @@ return {
|
||||||
|
|
||||||
-- Git
|
-- Git
|
||||||
{ 'kdheepak/lazygit.nvim' },
|
{ 'kdheepak/lazygit.nvim' },
|
||||||
|
{ 'lewis6991/gitsigns.nvim', config = {
|
||||||
|
signs = {
|
||||||
|
add = { hl = 'GitSignsAdd', text = '+', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' },
|
||||||
|
change = { hl = 'GitSignsChange', text = '│', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' },
|
||||||
|
delete = { hl = 'GitSignsDelete', text = '-', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' },
|
||||||
|
topdelete = { hl = 'GitSignsDelete', text = '‾', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' },
|
||||||
|
changedelete = { hl = 'GitSignsChange', text = '~', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' },
|
||||||
|
untracked = { hl = 'GitSignsAdd', text = '┆', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' },
|
||||||
|
},
|
||||||
|
current_line_blame = true,
|
||||||
|
show_deleted = true,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
-- Sessions
|
-- Sessions
|
||||||
{ "tpope/vim-obsession" },
|
{ "tpope/vim-obsession" },
|
||||||
|
@ -118,11 +131,19 @@ return {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{ 'akinsho/toggleterm.nvim',
|
||||||
|
version = "*",
|
||||||
|
config = {
|
||||||
|
open_mapping = [[<c-\>]],
|
||||||
|
-- direction = 'float'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
-- Aesthetics
|
-- Aesthetics
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
-- airline
|
-- status line
|
||||||
{ 'nvim-lualine/lualine.nvim' },
|
{ 'nvim-lualine/lualine.nvim' },
|
||||||
|
|
||||||
-- Devicons
|
-- Devicons
|
||||||
|
|
Loading…
Reference in New Issue