diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-10-29 20:01:33 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-10-29 20:01:33 +0100 |
commit | 4b0248c664e99924333766b148caf6e38c655e4e (patch) | |
tree | 4fc02f401d7d588c7322f436cbddfc8dbdd75f1c | |
parent | 516e72018dfea7a303876ec246e7b43bb4ada34f (diff) | |
download | configs-4b0248c664e99924333766b148caf6e38c655e4e.tar.gz configs-4b0248c664e99924333766b148caf6e38c655e4e.zip |
Added config for instant-markdown and removed remaps from .vimrc.
-rw-r--r-- | files/rcs/.vimrc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/files/rcs/.vimrc b/files/rcs/.vimrc index 6f6eeb8..bbedcf3 100644 --- a/files/rcs/.vimrc +++ b/files/rcs/.vimrc @@ -4,7 +4,6 @@ " \ V /| | | | | | | | | (__ " \_/ |_|_| |_| |_|_| \___| " -" Inspired by https://github.com/LukeSmithxyz/voidrice/blob/master/.vimrc let mapleader = "," @@ -15,7 +14,7 @@ Plug 'junegunn/fzf.vim' Plug 'tpope/vim-surround' Plug 'tpope/vim-repeat' Plug 'vimwiki/vimwiki' -Plug 'suan/vim-instant-markdown' +Plug 'suan/vim-instant-markdown', {'for': 'markdown'} Plug 'vim-airline/vim-airline' Plug 'vim-syntastic/syntastic' Plug 'Valloric/YouCompleteMe' @@ -129,6 +128,12 @@ let g:vimwiki_list = [{'path': '~/vimwiki/', " Dependencies: xdg-utils, curl, nodejs " Install miniserver with: npm -g install instant-markdown-d let g:instant_markdown_autostart = 0 +let g:instant_markdown_allow_unsafe_content = 1 +let g:instant_markdown_allow_external_content = 1 +let g:instant_markdown_open_to_the_world = 1 +let g:instant_markdown_mathjax = 1 +let g:instant_markdown_logfile = '/tmp/instant_markdown.log' +let g:instant_markdown_python = 1 map <leader>md :InstantMarkdownPreview<CR> map <leader>mD :InstantMarkdownStop<CR> @@ -158,8 +163,6 @@ autocmd BufWritePost ~/.config/qutebrowser/config.py !cat .config/qutebrowser/co """ Remaps """ nnoremap Y y$ -nnoremap zh zt -nnoremap zl zb nnoremap <leader>s :set spell!<CR> nnoremap <leader>e :Errors<Enter> nnoremap <leader>x :! ./% |