summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-03-02 11:33:03 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-03-02 11:33:03 +0100
commit2a7a1e8ae03e03deace396b61ed5d08add6c6c23 (patch)
treeb84259d2c9e4c4c09faa468f56c7b6a05ece6411 /nvim
parent6d809bc2f414684856e8521a5f9856b9ea39fabe (diff)
Running in guix
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftplugin/scheme.vim4
-rw-r--r--nvim/nvim/init.vim11
2 files changed, 6 insertions, 9 deletions
diff --git a/nvim/nvim/ftplugin/scheme.vim b/nvim/nvim/ftplugin/scheme.vim
index ebf87d8..42a2dee 100644
--- a/nvim/nvim/ftplugin/scheme.vim
+++ b/nvim/nvim/ftplugin/scheme.vim
@@ -1,3 +1,7 @@
+" Use λ easier
+inoremap <c-l> λ
+syn keyword schemeSyntax λ
+
setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2
setlocal autoindent
diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 3f773c8..1f558e4 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -2,8 +2,8 @@
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nocompatible
filetype off
-set rtp+=$XDG_CONFIG_HOME/nvim/bundle/Vundle.vim
-call vundle#begin($XDG_CONFIG_HOME . '/nvim/bundle/')
+set rtp+=$HOME/.config/nvim/bundle/Vundle.vim
+call vundle#begin($HOME . '/.config/nvim/bundle/')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
@@ -136,13 +136,6 @@ set ignorecase
set smartcase
-" SPELLING
-
-" Highlight spelling errors in red and underline
-hi clear SpellBad
-hi SpellBad cterm=underline ctermfg=Red guifg=Red gui=underline
-
-
" TEXT WIDTH
" Textwidth for automatic wrap, `gq` is formatting operation