More editor updates
This commit is contained in:
parent
fd9de58b0f
commit
257c6a0b38
@ -13,12 +13,13 @@ export PATH=~/bin:$PATH
|
|||||||
#
|
#
|
||||||
# Editor setup
|
# Editor setup
|
||||||
#
|
#
|
||||||
|
export PATH=/opt/neovim:$PATH
|
||||||
|
export EDITOR=nvim
|
||||||
|
|
||||||
function n () {
|
function n () {
|
||||||
/opt/neovim/nvim $* || nvim $*
|
/opt/neovim/nvim $* || nvim $*
|
||||||
}
|
}
|
||||||
|
|
||||||
export EDITOR=n
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Aliases
|
# Aliases
|
||||||
#
|
#
|
||||||
|
@ -19,16 +19,18 @@ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;92m\]$(hostnamectl hostname)\[\
|
|||||||
#
|
#
|
||||||
export PATH=~/bin:~/.local/bin:$PATH
|
export PATH=~/bin:~/.local/bin:$PATH
|
||||||
export IGNOREEOF=50 # Ignore first 50 Ctrl-D on shell
|
export IGNOREEOF=50 # Ignore first 50 Ctrl-D on shell
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Editor setup
|
# Editor setup
|
||||||
#
|
#
|
||||||
|
export PATH=/opt/neovim:$PATH
|
||||||
|
export EDITOR=nvim
|
||||||
|
|
||||||
function n () {
|
function n () {
|
||||||
/opt/neovim/nvim $* || nvim $*
|
/opt/neovim/nvim $* || nvim $*
|
||||||
}
|
}
|
||||||
|
|
||||||
export EDITOR=n
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Aliases
|
# Aliases
|
||||||
#
|
#
|
||||||
@ -57,3 +59,7 @@ function pgrep () {
|
|||||||
function start_tmux () {
|
function start_tmux () {
|
||||||
TERM=screen-256color tmux new -A -s DevEnv
|
TERM=screen-256color tmux new -A -s DevEnv
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function start_gitui() {
|
||||||
|
GPG_TTY=$(tty) gitui
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user