summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ctags9
-rw-r--r--gitconfig2
-rw-r--r--nvim/spell/en.utf-8.splbin0 -> 570549 bytes
-rw-r--r--nvim/spell/en.utf-8.sugbin0 -> 556477 bytes
-rw-r--r--nvimrc21
-rw-r--r--tex/header.sty2
-rw-r--r--zshrc1
7 files changed, 22 insertions, 13 deletions
diff --git a/ctags b/ctags
new file mode 100644
index 0000000..0c334fb
--- /dev/null
+++ b/ctags
@@ -0,0 +1,9 @@
+--langdef=latex
+--langmap=latex:.tex
+--regex-latex=/\\label\{([^}]*)\}/\1/l,label/
+--regex-latex=/\\section\{([^}]*)\}/\1/s,section/
+--regex-latex=/\\subsection\{([^}]*)\}/\1/t,subsection/
+--regex-latex=/\\subsubsection\{([^}]*)\}/\1/u,subsubsection/
+--regex-latex=/\\section\*\{([^}]*)\}/\1/s,section/
+--regex-latex=/\\subsection\*\{([^}]*)\}/\1/t,subsection/
+--regex-latex=/\\subsubsection\*\{([^}]*)\}/\1/u,subsubsection/
diff --git a/gitconfig b/gitconfig
index 4cf00e0..f1fffcd 100644
--- a/gitconfig
+++ b/gitconfig
@@ -5,3 +5,5 @@
templatedir = ~/.git_template
[alias]
ctags = !.git/hooks/ctags
+[push]
+ default = simple
diff --git a/nvim/spell/en.utf-8.spl b/nvim/spell/en.utf-8.spl
new file mode 100644
index 0000000..a41bf79
--- /dev/null
+++ b/nvim/spell/en.utf-8.spl
Binary files differ
diff --git a/nvim/spell/en.utf-8.sug b/nvim/spell/en.utf-8.sug
new file mode 100644
index 0000000..b82667d
--- /dev/null
+++ b/nvim/spell/en.utf-8.sug
Binary files differ
diff --git a/nvimrc b/nvimrc
index d128048..d815ca2 100644
--- a/nvimrc
+++ b/nvimrc
@@ -3,7 +3,7 @@ call plug#begin('~/.nvim/plugged')
Plug 'airblade/vim-gitgutter', { 'on' : 'GitGutterToggle' }
Plug 'altercation/vim-colors-solarized'
Plug 'AndrewRadev/splitjoin.vim'
-Plug 'benekastah/neomake'
+Plug 'benekastah/neomake' , { 'for' : 'cpp' }
Plug 'bling/vim-airline'
Plug 'christoomey/vim-tmux-navigator'
Plug 'edkolev/tmuxline.vim'
@@ -13,20 +13,18 @@ Plug 'gregsexton/gitv', { 'on' : 'Gitv' }
Plug 'honza/vim-snippets'
Plug 'jamessan/vim-gnupg', { 'for' : 'asc' }
Plug 'junegunn/fzf', { 'on' : 'FZF' }
-Plug 'junegunn/goyo.vim', { 'on' : 'Goyo' }
-Plug 'junegunn/limelight.vim', { 'on' : 'Limelight' }
Plug 'junegunn/seoul256.vim'
-Plug 'junegunn/vim-easy-align'
+Plug 'junegunn/vim-pseudocl'
Plug 'junegunn/vim-oblique'
Plug 'junegunn/vim-peekaboo'
-Plug 'junegunn/vim-pseudocl'
Plug 'junegunn/rainbow_parentheses.vim'
-Plug 'kien/ctrlp.vim'
+Plug 'kassio/neoterm', { 'on' : 'T' }
+Plug 'kien/ctrlp.vim', { 'on' : 'CtrlP' }
Plug 'LaTeX-Box-Team/latex-box', { 'for' : 'tex' }
-Plug 'lervag/vimtex'
Plug 'majutsushi/tagbar'
-Plug 'mileszs/ack.vim'
+Plug 'mileszs/ack.vim', { 'on' : 'Ack' }
Plug 'rdnetto/YCM-Generator', { 'branch' : 'stable' }
+Plug 'ryanss/vim-hackernews'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'scrooloose/syntastic'
Plug 'SirVer/ultisnips'
@@ -41,7 +39,6 @@ Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-obsession'
Plug 'tpope/vim-repeat'
-Plug 'tpope/vim-scriptease'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired'
@@ -52,7 +49,7 @@ Plug 'xolox/vim-notes', { 'on' : 'Note' }
call plug#end()
"" Plugins options
-let g:LatexBox_Folding=0
+let g:LatexBox_fold_automatic=0
let g:LatexBox_latexmk_preview_continuously=1
let g:LatexBox_quickfix=2
let g:LatexBox_viewer='zathura'
@@ -148,8 +145,8 @@ set nonumber
set diffopt=filler,vertical
set listchars=tab:▸\ ,eol:¬,trail:-
set fillchars=fold:\ ,vert:\ ,
-set showbreak=--▸\ ,
set breakindent
+let &showbreak='--▸ '
set colorcolumn=0
set scrolloff=0
set t_Co=256
@@ -157,7 +154,7 @@ set guitablabel=%N\ %t\ %M
set showcmd
" Layout text
-set nowrap
+set wrap
set linebreak
set textwidth=0
set conceallevel=2
diff --git a/tex/header.sty b/tex/header.sty
index 9eeae8f..0d436a3 100644
--- a/tex/header.sty
+++ b/tex/header.sty
@@ -69,7 +69,7 @@
% Layout options
\setlength{\parskip}{6pt}
-\setstretch{1.3}
+\setstretch{1.2}
% Setting for the table of contents
\setcounter{secnumdepth}{1}
diff --git a/zshrc b/zshrc
index 1692cfd..3974cc3 100644
--- a/zshrc
+++ b/zshrc
@@ -62,6 +62,7 @@ alias nsess="$EDITOR -S Session.vim"
alias pull='git pull origin master'
alias purge='sudo apt-get purge'
alias push='git push origin master'
+alias pushs='git push --recurse-submodules=check'
alias remove='sudo apt-get autoremove'
alias tmux="TERM=screen-256color-bce tmux"
alias update='sudo apt-get update'