This makes it hard to edit module namespaces.
To move through Cow.Horse.Sheep
I have to use f. and then to say change Horse to Donkey I have to do ct. this is inconvenient as it basically puts cabal files in a different editing mode from every other kind of file.
I read https://superuser.com/questions/741422/vim-move-word-skips-dot
and then ran :verbose set iskeyword? in the cabal file
gives (notice the '.' in there):
iskeyword=@,48-57,_,192-255,-,.,*
Last set from ~/.vim/plugged/haskell-vim/after/ftplugin/cabal.vim
Is there any reason you are doing that?
Could you change it?
I think I can probably remove the '.' using an autocmd on filetype but was wondering if that has any other consequences?
Cheers
Jonny
This makes it hard to edit module namespaces.
To move through Cow.Horse.Sheep
I have to use
f.and then to say change Horse to Donkey I have to doct.this is inconvenient as it basically puts cabal files in a different editing mode from every other kind of file.I read https://superuser.com/questions/741422/vim-move-word-skips-dot
and then ran
:verbose set iskeyword?in the cabal filegives (notice the '.' in there):
Is there any reason you are doing that?
Could you change it?
I think I can probably remove the '.' using an autocmd on filetype but was wondering if that has any other consequences?
Cheers
Jonny