From 3669ad78656d17578cf38d8146ee5ce3acbaaa79 Mon Sep 17 00:00:00 2001 From: datalabsnu Date: Wed, 10 Apr 2019 16:10:29 +0900 Subject: [PATCH] update --- README.md | 1 + bin/install_shell.sh | 3 ++- nvim/init.vim | 7 +++++++ tmux/tmuxinator/nc.yml | 2 +- zsh/.zshrc | 1 + 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 43d8fa2..99019c5 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ * `pylint`: pip3 install pylint * `jedi`: pip3 install jedi * `neovim-remote`: pip3 install neovim-remote +* `tmuxinator`: gem install tmuxinator ## tmux ### Installation diff --git a/bin/install_shell.sh b/bin/install_shell.sh index 14243be..051a77d 100644 --- a/bin/install_shell.sh +++ b/bin/install_shell.sh @@ -6,7 +6,8 @@ cp shell/tmux-session ~/bin echo "[shell] end shell installation" echo "[ssh] start setting up ssh config" -cp ssh/config ~/.ssh +mkdir ~/.ssh +cp ssh/config ~/.ssh/config echo "[ssh] end setting up ssh config" echo "[dircolors] start installing dircolors" diff --git a/nvim/init.vim b/nvim/init.vim index e409267..4cd9433 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,6 +1,10 @@ """""""""""""""""""""""""""" """" Basic setup """""""""""""""""""""""""""" +function! DoRemote(arg) + UpdateRemotePlugins +endfunction + call plug#begin() "" Plugins for pythons @@ -53,6 +57,7 @@ Plug 'xolox/vim-notes' " vim notes Plug 'xolox/vim-misc' " misc for other plugins "" Lab - Plugins for testing +Plug 'daeyun/vim-matlab', { 'do': function('DoRemote') } Plug 'itchyny/calendar.vim' Plug 'dsimidzija/vim-nerdtree-ignore' " nerdtreeignore "Plug 'haya14busa/vim-gtrans' @@ -82,6 +87,8 @@ set relativenumber syntax on let python_highlight_all = 1 +autocmd BufNewFile,BufRead *.mex set syntax=mex + """ for vim slow issues set nocompatible diff --git a/tmux/tmuxinator/nc.yml b/tmux/tmuxinator/nc.yml index 6234d73..dfe6f17 100644 --- a/tmux/tmuxinator/nc.yml +++ b/tmux/tmuxinator/nc.yml @@ -45,5 +45,5 @@ root: ~/iCloud/Workspace/Projects/NC/nc-newsmap windows: - editor: panes: - - nvim + - #empty - run: #empty diff --git a/zsh/.zshrc b/zsh/.zshrc index 387a48a..05c6ace 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -137,6 +137,7 @@ alias ls='gls --color=auto' alias ll='ls -al' # Path +export PATH="/Applications/MATLAB_R2018b.app/bin:${PATH}" export PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}" export PATH="~/bin:${PATH}"