freitass / todo.txt-vim

Vim plugin for Todo.txt
486 stars 121 forks source link

Mappings failing to register #66

Open joereddington opened 6 years ago

joereddington commented 6 years ago

Just installed todo.txt-vim using the quick install instructions. Code Highlighting looks great Mappings aren't being found. What am I missing?

screen shot 2018-08-09 at 17 58 47

This is my .vimrc:

set number map "" map "" map "" map "" syntax on set ignorecase smartcase set history=200 set incsearch set ww=b,s,<,>,[,] set spell com! Pdf !open %:r.pdf autocmd FileType .ml source ~/.vim/ml.vim autocmd FileType plaintex source ~/.vim/latex.vim autocmd FileType tex setlocal makeprg=pdflatex\ --shell-escape\ '%' autocmd Syntax ocaml set commentstring=(%s*) set viminfo+=n~/.viminfo set spell hi clear SpellBad hi SpellBad cterm=underline

let mapleader="," let maplocalleader="" set whichwrap+=<,>,h,l,[,] set showcmd

filetype on au BufNewFile, BufRead .csv set filetype=nextActions autocmd BufNewFile,BufFilePre,BufRead .md set filetype=markdown.pandoc set relativenumber

robin-gdwl commented 3 years ago

EDIT: nevermind.... this was the solution: #59, it had nothing to do with me being on windows. ORIGINAL COMMENT: Had this problem on windows. Calling the functions directly in vim (e.g. :sort) worked but not <LocalLeader>s for me the problem was that the file inside the folder ftplugin needed to go into the plugin folder in ~\vimfiles. I am still frustrated over how subtle differences between win and unix vim continue to give me headaches that are difficult to troubleshoot.