commit 30de250afc8f15a0d5a5e26b47d7ca4e6d75932f
parent f6585ee0527419413889422324bd1b71b217cff0
Author: oscarbenedito <oscar@oscarbenedito.com>
Date: Sun, 14 Jun 2020 13:31:11 +0200
Minor things
Diffstat:
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim
@@ -9,10 +9,11 @@
call plug#begin()
Plug 'junegunn/goyo.vim' " minimalist design, nice for writing text
-Plug 'vim-latex/vim-latex'
+Plug 'vim-latex/vim-latex', { 'for': 'tex' }
Plug 'sheerun/vim-polyglot' " languages syntax
Plug 'tpope/vim-surround' " surrounding objects
Plug 'tpope/vim-commentary' " easily comment objects
+Plug 'tpope/vim-repeat' " make surround commands repeatable
Plug 'tpope/vim-fugitive' " git wrapper
Plug 'vimwiki/vimwiki'
call plug#end()
@@ -52,6 +53,7 @@ autocmd FileType vimwiki set foldlevel=1
let mapleader="," " set ',' as leader
set hidden " hide buffers instead of closing them
set path+=** " find in subdirectories as well
+set mouse="" " gets rid of mouse, should be by default
" indentation
set expandtab " insert spaces instead of tabs
diff --git a/dot_config/zsh/aliases.tmpl b/dot_config/zsh/aliases.tmpl
@@ -12,6 +12,7 @@ alias diff="diff --color=auto"
alias cp="cp --interactive"
alias mv="mv --interactive"
alias mkdir="mkdir --parents"
+alias rm="rm -I"
alias tmux="TERM=screen-256color tmux"
# Shortcuts
diff --git a/meta/shortcuts/files b/meta/shortcuts/files
@@ -1,5 +1,5 @@
# shortcuts for files
-cfd $XDG_DATA_HOME/chezmoi/chezmoi/directories
-cff $XDG_DATA_HOME/chezmoi/chezmoi/files
-cffc $XDG_DATA_HOME/chezmoi/chezmoi/files-chezmoi
+cfd $XDG_DATA_HOME/chezmoi/meta/shortcuts/directories
+cff $XDG_DATA_HOME/chezmoi/meta/shortcuts/files
+cffc $XDG_DATA_HOME/chezmoi/meta/shortcuts/files-chezmoi
cfx $HOME/.Xresources