vue stuff
This commit is contained in:
1 parent
6374f17a68
commit
ea5aa0d500
2 files changed
+13
-6
No files matched your search
@@ -4,6 +4,7 @@ export ZSH_TMUX_FIXTERM=false
|
|||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH=~/.oh-my-zsh
|
export ZSH=~/.oh-my-zsh
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
# Set name of the theme to load.
|
# Set name of the theme to load.
|
||||||
# Look in ~/.oh-my-zsh/themes/
|
# Look in ~/.oh-my-zsh/themes/
|
||||||
@@ -53,7 +54,7 @@ ZSH_THEME="gentoo"
|
|||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(tmux virtualenvwrapper ssh-agent extract)
|
plugins=(tmux virtualenvwrapper ssh-agent extract node npm)
|
||||||
|
|
||||||
zstyle ':completion:*' special-dirs true
|
zstyle ':completion:*' special-dirs true
|
||||||
zstyle :omz:plugins:ssh-agent identities id_rsa
|
zstyle :omz:plugins:ssh-agent identities id_rsa
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ filetype off
|
|||||||
syntax on
|
syntax on
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
|
|
||||||
set cryptmethod=blowfish2
|
|
||||||
|
|
||||||
"" system
|
"" system
|
||||||
set enc=utf-8
|
set enc=utf-8
|
||||||
set shell=/bin/zsh
|
set shell=/bin/zsh
|
||||||
@@ -34,6 +32,7 @@ set undofile
|
|||||||
set undodir=~/.backup/
|
set undodir=~/.backup/
|
||||||
set backup
|
set backup
|
||||||
set backupdir=~/.backup/
|
set backupdir=~/.backup/
|
||||||
|
set backupcopy=yes
|
||||||
|
|
||||||
"" tabs and stuff
|
"" tabs and stuff
|
||||||
set nosmartindent
|
set nosmartindent
|
||||||
@@ -81,9 +80,6 @@ autocmd BufNewFile,BufReadPost *.md set formatoptions+=t
|
|||||||
|
|
||||||
autocmd BufNewFile,BufReadPost Dockerfile set filetype=dockerfile
|
autocmd BufNewFile,BufReadPost Dockerfile set filetype=dockerfile
|
||||||
|
|
||||||
au BufNewFile,BufRead *.mustache,*.hogan,*.hulk,*.hjs set filetype=html.mustache syntax=mustache | runtime! ftplugin/mustache.vim ftplugin/mustache*.vim ftplugin/mustache/*.vim
|
|
||||||
au BufNewFile,BufRead *.handlebars,*.hbs set filetype=html.handlebars syntax=mustache | runtime! ftplugin/mustache.vim ftplugin/mustache*.vim ftplugin/mustache/*.vim
|
|
||||||
|
|
||||||
"" Vundle
|
"" Vundle
|
||||||
|
|
||||||
" Setting up Vundle - the vim plugin bundler
|
" Setting up Vundle - the vim plugin bundler
|
||||||
@@ -168,3 +164,13 @@ Bundle 'trevorrjohn/vim-obsidian'
|
|||||||
colorscheme obsidian
|
colorscheme obsidian
|
||||||
|
|
||||||
Plugin 'othree/html5.vim'
|
Plugin 'othree/html5.vim'
|
||||||
|
Plugin 'othree/yajs.vim', { 'for': 'html' }
|
||||||
|
Plugin 'othree/javascript-libraries-syntax.vim'
|
||||||
|
Plugin 'vim-scripts/SyntaxComplete'
|
||||||
|
Plugin 'pangloss/vim-javascript'
|
||||||
|
Plugin 'posva/vim-vue'
|
||||||
|
au BufNewFile,BufRead *.vue set filetype=html
|
||||||
|
au BufNewFile,BufReadPost *.vue set shiftwidth=2
|
||||||
|
au BufNewFile,BufReadPost *.vue set softtabstop=2
|
||||||
|
au BufNewFile,BufReadPost *.js set shiftwidth=2
|
||||||
|
au BufNewFile,BufReadPost *.js set softtabstop=2
|
||||||
Reference in new issue
Block a user