Add markdown settings.
This commit is contained in:
1
ftplguin/markdown.vim
Normal file
1
ftplguin/markdown.vim
Normal file
@@ -0,0 +1 @@
|
||||
setlocal expandtab
|
||||
10
init.vim
10
init.vim
@@ -5,11 +5,10 @@ Plug 'tpope/vim-fugitive'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
"Plug 'ervandew/supertab'
|
||||
Plug 'javier-lopez/sprunge.vim'
|
||||
Plug 'vim-scripts/Trailer-Trash'
|
||||
Plug 'vim-scripts/bad-whitespace'
|
||||
Plug 'alvan/vim-closetag'
|
||||
Plug 'junegunn/fzf'
|
||||
Plug 'aklt/plantuml-syntax'
|
||||
Plug 'danro/rename.vim'
|
||||
Plug 'ciaranm/detectindent'
|
||||
@@ -20,7 +19,7 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
call plug#end()
|
||||
filetype plugin indent on
|
||||
" to ignore plugin indent changes, instead use:
|
||||
"filetype plugin on
|
||||
filetype plugin on
|
||||
|
||||
""" General
|
||||
" indentation
|
||||
@@ -52,6 +51,7 @@ set foldnestmax=1
|
||||
"inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
||||
nmap <C-a> :CocAction<CR>
|
||||
|
||||
" syntax highlighting
|
||||
syntax on
|
||||
@@ -102,3 +102,7 @@ let g:airline#extensions#whitespace#checks = [ 'indent', 'long']
|
||||
let g:licenses_copyright_holders_name = 'Ortega Froysa, Nicolás <nicolas@ortegas.org>'
|
||||
let g:licenses_authors_name = 'Ortega Froysa, Nicolás <nicolas@ortegas.org>'
|
||||
let g:licenses_default_command = [ 'Affero' ]
|
||||
|
||||
" FZF
|
||||
nnoremap <leader>f :FZF<CR>
|
||||
nnoremap <leader>F :tabnew<CR>:FZF<CR>
|
||||
|
||||
Reference in New Issue
Block a user