From 40bd2afaf8cb075c58223da2c17b549a1d479d37 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 30 Aug 2019 21:02:04 +0200 Subject: asdf --- .bashrc | 2 ++ .vim/vimrc | 15 +++++++++++---- aliases.bash | 2 ++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 aliases.bash diff --git a/.bashrc b/.bashrc index 5717ee8..94f219a 100644 --- a/.bashrc +++ b/.bashrc @@ -6,6 +6,8 @@ case $- in *) return;; esac +export BASH_IT_CUSTOM="/home/jonas/vimconfig" + # Path to the bash it configuration export BASH_IT="/home/jonas/vimconfig/bash-it" diff --git a/.vim/vimrc b/.vim/vimrc index fc9a936..19e575e 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -18,18 +18,25 @@ execute pathogen#infect() syntax on filetype plugin indent on -"Autostart NERDtree -"autocmd vimenter * NERDTree - "Switch windows with keys nmap :wincmd k nmap :wincmd j nmap :wincmd h nmap :wincmd l +nmap :make + nmap :NERDTreeToggle nmap :TlistToggle -nmap :terminal +nmap :Newterm + +command -bar Newterm call Create_term() + +function Create_term() + tabnew + terminal + startinsert +endfunction "Tab mgmt nmap :tabclose diff --git a/aliases.bash b/aliases.bash new file mode 100644 index 0000000..3300447 --- /dev/null +++ b/aliases.bash @@ -0,0 +1,2 @@ +alias ls="ls --color" +alias vim="nvim" -- cgit v1.2.3