Comments (6)
Thanks for the report. I cannot reproduce it, unfortunately. Could you please share also your configuration for Vim-zettel?
from vim-zettel.
Thanks to you for the proyect! Sure!
OS: MacOS 10.15.4
Vim: 8.2.539
This is my vimrc:
" Para que funcione bien vimwiki
set nocompatible " be iMproved, required
filetype off " required
syntax on
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
"FuzzyFider
Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Zettelkasten
Plugin 'vimwiki/vimwiki'
Plugin 'michal-h21/vim-zettel'
"Tema
Plugin 'morhetz/gruvbox'
"Soncronizar automaticamente Github
Plugin 'michal-h21/vimwiki-sync'
call vundle#end() " required
filetype plugin indent on " required
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/alok/notational-fzf-vim'
call plug#end()
"----------------------------- VimWiki Zettelkasten ----------------------------------------
" Settings for Vimwiki
let g:vimwiki_list = [{'path':'~/scratchbox/vimwiki/zettelkasten/','ext':'.md','syntax':'markdown'}]
let g:vimwiki_autowriteall = 1
"let g:zettel_fzf_command =
let g:zettel_format = "%y-%m-%d_%H%M_%title"
let g:zettel_options = [{"template" : "~/scratchbox/vimwiki/template1.tpl"}]
let g:nv_search_paths = ['~/scratchbox/vimwiki/zettelkasten']
"nnoremap <leader>d :ZettelBackLinks<CR>
nnoremap <C-p> :ZettelOpen<CR>
"----------------------------- Visual ----------------------------------------
set relativenumber
set tabstop=4 softtabstop=4
set nowrap
set smartcase
set termguicolors
set colorcolumn=100
highlight ColorColumn ctermbg=0 guibg=lightgrey
autocmd vimenter * colorscheme gruvbox
"----------------------------- Splits ----------------------------------------
let mapleader = " "
set timeout timeoutlen=3000 ttimeoutlen=100
set splitright
set splitbelow
nnoremap <leader>h :wincmd h<CR>
nnoremap <leader>j :wincmd j<CR>
nnoremap <leader>k :wincmd k<CR>
nnoremap <leader>l :wincmd l<CR>
nnoremap <Leader>+ :vertical resize +5<CR>
nnoremap <Leader>- :vertical resize -5<CR>
"----------------------------- Escribir ----------------------------------------
nnoremap ; :
nnoremap : ;
inoremap ; :
inoremap : ;
"----------------------------- Usabilidad ----------------------------------------
set noerrorbells
nnoremap <C-s> :w<CR>
" Convertir palabr en tag
nnoremap <leader>t bi:<ESC>t<Space>a:<ESC>
Thank you again!
from vim-zettel.
I still cannot reproduce it, I am afraid :/ But I can see that you have mappings for :
in the vimrc
file. I've found that I use execute ":w"
on the quite a few places in vim-zettel
, so maybe this is the problem. I found that it is not necessary to use :w
, w
is enough, so I replaced them. Does this fix it for you?
from vim-zettel.
Thank you for the response. I tried so many things by now... and what I have to prove it you ask? A new bug... haha. I removed everything from the .vimrc except for the plugins and the minimal vim-zettel and Vimwiki config.
Now the previous bug disappeared, but there is a new one. When I create a note inside another note, the link is generated, but not the new note. So, when I hit Enter on the link, it goes nowhere.
By the way, the thing that made the previous bug disappear was commenting this line:
let g:zettel_format = "%y-%m-%d_%H%M_%title"
I can't say why.
I will reinstall everything and report back. Luckily my work setup is safe on Neovim.
from vim-zettel.
IT WORKED! I reinstalled everything and now works perfectly. I don't know why. Maybe a clash of plugins?
Thank you so much for your help! This issue is no more!
from vim-zettel.
Great! Yes, package clash is definitely possible, maybe you had older version of some of the packages, so update fixed that.
from vim-zettel.
Related Issues (20)
- Add `%random` variable for template files HOT 1
- ZettelInsertNote fails with multiple wikis: Can't open file... HOT 1
- ZettelInbox indiscriminately adds all zettels to the page HOT 3
- Front Matter not included in YAML HOT 5
- Generate ID in template HOT 2
- Flying Zettels/Buffers HOT 6
- Make :ZettelOpen jump to correct line HOT 4
- Would it be possible to use Telescope rather than fzf? HOT 9
- Linking visually selected text to an existing zettel HOT 3
- Allow for NV-like creation of new zettel HOT 1
- Error when running ZettelInbox on Vimwiki dev branch HOT 4
- ZettelSearch and insert mode HOT 1
- :ZettelSearch and :NV search different things HOT 1
- Feature Request: ZettelOrphanedPages?ZettelOrphans
- Should this work in Neovim? I cannot make it create notes anywhere but current directory HOT 7
- :ZettelOpen & :ZettelSearch don't work HOT 8
- Disregard
- Question: Using vim-zettel with 11ty - Generating 11ty links on output HOT 1
- Create zettels in a subfolders? HOT 12
- Zettels are not created in the current subfolder. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-zettel.