commit 1a01ab093d363d3806948fcc8fded31cd81d57e7
parent 76ba43c17a61b7270aa341115108dfcbfbd71be6
Author: oscarbenedito <oscar@oscarbenedito.com>
Date:   Tue, 24 Mar 2020 11:25:57 +0100

Adds a couple lines to .vimrc

Diffstat:
Mdot_vimrc | 5++++-
Mdot_zshrc.tmpl | 1+
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dot_vimrc b/dot_vimrc @@ -17,6 +17,9 @@ autocmd BufRead,BufNewFile *.sty set filetype=tex " nerd tree shortcut map <C-n> :NERDTreeToggle<CR> +" copying to clipboard +set clipboard=unnamedplus + " indentation set expandtab set shiftwidth=2 @@ -91,4 +94,4 @@ set foldmethod=marker " using {{{ and }}} to delimit folding areas set modeline set colorcolumn=81 " color line 81 differently set textwidth=80 " break lines longer than 80 characters -:command Make :w | :!make " make shortcut +map <F2> <Esc>:w<CR>:!make<CR> diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl @@ -16,6 +16,7 @@ export EDITOR=vim # Programs default folders export GOPATH=$HOME/.config/go +export R_LIBS_USER=$HOME/.config/R/ # Set up navigation menu when pressing tab multiple times autoload -U compinit