From e9ef9b0a02601a30a1c9242d5849a17ec2af1cbb Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Fri, 1 Apr 2016 20:45:02 +0200 Subject: Separate markdown ftdetect and mouse support --- vim/.vim/ftdetect/markdown.vim | 2 ++ vim/.vimrc | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 vim/.vim/ftdetect/markdown.vim diff --git a/vim/.vim/ftdetect/markdown.vim b/vim/.vim/ftdetect/markdown.vim new file mode 100644 index 0000000..51b8df5 --- /dev/null +++ b/vim/.vim/ftdetect/markdown.vim @@ -0,0 +1,2 @@ +" Understand .md as markdown +autocmd BufNewFile,BufRead *.md set ft=markdown diff --git a/vim/.vimrc b/vim/.vimrc index 313a327..06285cc 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -24,11 +24,11 @@ set foldlevelstart=99 set hlsearch nnoremap :noh -" Understand .md as markdown -autocmd BufNewFile,BufRead *.md set ft=markdown - " Ingnore Case in search set ignorecase " Always show tabline (0=never, 1=when there are at least 2 tabs, 2=always) set showtabline=2 + +" Mouse support +set mouse=a -- cgit v1.2.3