aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-08-30 21:02:04 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-08-30 21:02:04 +0200
commit40bd2afaf8cb075c58223da2c17b549a1d479d37 (patch)
treea5c8e5635d332422130c8c2d866f4844d95d2456
parent0b84550f53ab15746e2d62c6d4f7c75f79f43a6d (diff)
downloaddotfiles-40bd2afaf8cb075c58223da2c17b549a1d479d37.tar.gz
asdf
-rw-r--r--.bashrc2
-rw-r--r--.vim/vimrc15
-rw-r--r--aliases.bash2
3 files changed, 15 insertions, 4 deletions
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 <silent> <C-w-k> :wincmd k<CR>
nmap <silent> <C-w-j> :wincmd j<CR>
nmap <silent> <C-w-h> :wincmd h<CR>
nmap <silent> <C-w-l> :wincmd l<CR>
+nmap <silent> <C-m> :make<CR>
+
nmap <silent> <F5> :NERDTreeToggle<CR>
nmap <silent> <F6> :TlistToggle<CR>
-nmap <silent> <F7> :terminal<CR>
+nmap <silent> <F7> :Newterm<CR>
+
+command -bar Newterm call Create_term()
+
+function Create_term()
+ tabnew
+ terminal
+ startinsert
+endfunction
"Tab mgmt
nmap <silent> <F1> :tabclose<CR>
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"