Changed nvim settings and added rustgrep

Added a better performing grep alternative to my zshrc. Added a Verilog
and SystemVerilog linter to nvim. Removed auto startup of Markdown
preview.
This commit is contained in:
Dennis Potter 2019-05-10 14:46:32 +02:00
parent 9d0b602b8e
commit 1f21054aad
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF
4 changed files with 13 additions and 5 deletions

View File

@ -17,6 +17,7 @@ Below, a list of applications that are managed and of their prerequisites to mak
``` ```
- ZSH - ZSH
oh-my-zsh (automatically fetched by dotdrop) oh-my-zsh (automatically fetched by dotdrop)
ripgrep
- tmux - tmux
acpi acpi
- neovim - neovim

@ -1 +1 @@
Subproject commit d569201b0bf06da6b29daedfc48e207ab0ef793a Subproject commit 8559aeb8713d44cc13a7fe22a524300360239571

View File

@ -1,6 +1,7 @@
syntax on syntax on
filetype plugin indent on filetype plugin indent on
au BufNewFile,BufRead *.tpp set filetype=cpp au BufNewFile,BufRead *.tpp set filetype=cpp
au BufNewFile,BufRead *.f set filetype=verilog
syntax enable syntax enable
set number showmatch set number showmatch
@ -81,9 +82,6 @@ endfunction
nnoremap <silent> <leader>; :call ToggleHiddenAll()<CR> nnoremap <silent> <leader>; :call ToggleHiddenAll()<CR>
" Markdown preview settings
let g:mkdp_auto_start = 1
" Rust debugging " Rust debugging
let g:ycm_rust_src_path = '/home/dennis/code/rust/src' let g:ycm_rust_src_path = '/home/dennis/code/rust/src'
set statusline+=%#warningmsg# set statusline+=%#warningmsg#
@ -135,6 +133,7 @@ Plug 'vim-syntastic/syntastic'
" debugging " debugging
Plug 'sakhnik/nvim-gdb' Plug 'sakhnik/nvim-gdb'
Plug 'vhda/verilog_systemverilog.vim'
call plug#end() call plug#end()
" Denite settings " Denite settings

View File

@ -5,6 +5,12 @@ fi
# If you come from bash you might have to change your $PATH. # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH # export PATH=$HOME/bin:/usr/local/bin:$PATH
export LC_ALL="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export GPG_TTY=$(tty)
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="~/.oh-my-zsh" export ZSH="~/.oh-my-zsh"
@ -97,6 +103,9 @@ source $ZSH/oh-my-zsh.sh
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
# #
# Alias grep top ripgrep
alias grep="rg"
alias vi="nvim" alias vi="nvim"
alias vim="nvim" alias vim="nvim"
alias pst="pbincli" alias pst="pbincli"
@ -109,4 +118,3 @@ export PATH=$PATH:~/code/PBinCLI/venv/bin:~/.local/bin
{%@@ if profile == "dennis-ThinkPad" @@%} {%@@ if profile == "dennis-ThinkPad" @@%}
export GTK_MODULES=appmenu-gtk-module export GTK_MODULES=appmenu-gtk-module
{%@@ endif @@%} {%@@ endif @@%}