updated nvim config
This commit is contained in:
parent
acf6213415
commit
b7fd9b6523
5 changed files with 17 additions and 2 deletions
9
.config/nvim/after/plugin/gitsigns.lua
Normal file
9
.config/nvim/after/plugin/gitsigns.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
require('gitsigns').setup {
|
||||
signs = {
|
||||
add = {text='+'},
|
||||
change = {text='~'},
|
||||
delete = {text='_'},
|
||||
topdelete = {text='‾'},
|
||||
changedelete = {text='~'},
|
||||
}
|
||||
}
|
||||
|
|
@ -3,6 +3,7 @@ vim.cmd [[packadd packer.nvim]]
|
|||
return require('packer').startup(function(use)
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
use 'lewis6991/gitsigns.nvim'
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
||||
-- or , branch = '0.1.x',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
vim.opt.guicursor = ''
|
||||
-- vim.opt.guicursor = ''
|
||||
|
||||
-- line numbers
|
||||
vim.opt.nu = true
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
defaultBranch = main
|
||||
[core]
|
||||
editor = vim
|
||||
autocrlf = input
|
||||
[pull]
|
||||
ff = only
|
||||
[filter "lfs"]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
fpath+=$HOME/.zsh/pure
|
||||
autoload -U promptinit; promptinit
|
||||
zstyle :prompt:pure:prompt:success color green
|
||||
zstyle ':prompt:pure:path' color 075
|
||||
zstyle ':prompt:pure:prompt:success' color 214
|
||||
zstyle ':prompt:pure:user' color 119
|
||||
zstyle ':prompt:pure:host' color 119
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=161'
|
||||
prompt pure
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH
|
||||
|
|
|
|||
Loading…
Reference in a new issue