Add gitui config and update vim settings
This commit is contained in:
parent
ae4c7b5603
commit
c7eb3df1d0
|
@ -0,0 +1,8 @@
|
|||
(
|
||||
move_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)),
|
||||
move_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)),
|
||||
move_up: Some(( code: Char('k'), modifiers: ( bits: 0,),)),
|
||||
move_down: Some(( code: Char('j'), modifiers: ( bits: 0,),)),
|
||||
stash_open: Some(( code: Char('l'), modifiers: ( bits: 0,),)),
|
||||
open_help: Some(( code: F(1), modifiers: ( bits: 0,),)),
|
||||
)
|
|
@ -0,0 +1,23 @@
|
|||
(
|
||||
selected_tab: Reset,
|
||||
command_fg: White,
|
||||
selection_bg: Blue,
|
||||
selection_fg: White,
|
||||
cmdbar_bg: Blue,
|
||||
cmdbar_extra_lines_bg: Blue,
|
||||
disabled_fg: DarkGray,
|
||||
diff_line_add: Green,
|
||||
diff_line_delete: Red,
|
||||
diff_file_added: LightGreen,
|
||||
diff_file_removed: LightRed,
|
||||
diff_file_moved: LightMagenta,
|
||||
diff_file_modified: Yellow,
|
||||
commit_hash: Magenta,
|
||||
commit_time: LightCyan,
|
||||
commit_author: Green,
|
||||
danger_fg: Red,
|
||||
push_gauge_bg: Blue,
|
||||
push_gauge_fg: Reset,
|
||||
tag_fg: LightMagenta,
|
||||
branch_fg: LightYellow,
|
||||
)
|
|
@ -15,10 +15,8 @@ vim.opt.rtp:prepend(lazypath)
|
|||
require('lazy').setup({
|
||||
"rafamadriz/friendly-snippets",
|
||||
'ConradIrwin/vim-bracketed-paste',
|
||||
'Vimjas/vim-python-pep8-indent',
|
||||
'airblade/vim-rooter',
|
||||
'cappyzawa/trim.nvim',
|
||||
'ervandew/supertab',
|
||||
'ggandor/leap.nvim',
|
||||
'mhartington/formatter.nvim',
|
||||
'gpanders/editorconfig.nvim',
|
||||
|
|
|
@ -33,6 +33,7 @@ vim.opt.wildmode = {"longest", "list"}
|
|||
vim.g.mapleader = ","
|
||||
vim.g.python_highlight_all = 1
|
||||
vim.wo.signcolumn = "number"
|
||||
vim.wo.relativenumber = true
|
||||
vim.g.rooter_patterns = {".git", "Makefile", "CMakeLists.txt", "build/"}
|
||||
vim.g.rooter_silent_chdir = 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue