2 Star 0 Fork 0

mirrors_ReneNyffenegger/notes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
common.vim 941 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rene Nyffenegger 提交于 2017-01-21 15:01 . nnoremap ...
" vim: ft=vim
"
" This file is source by
" $github_root/Bibelkommentare/mappings.vim
" ~/.vim/ftplugin/notes.vim
"
call TQ84_log_indent(expand('<sfile>'))
try
" Use forward slashes
"
" TODO This is a global option. It should be
" reset when going to another buffer.
"
call TQ84_log('set shellslash, was ' . &shellslash)
setl shellslash
" http://vi.stackexchange.com/questions/7478/how-do-i-exclude-the-%E2%86%92-from-file-name-characters
call TQ84_log('set includeexpr, was ' . &includeexpr)
set includeexpr=substitute(v:fname,'^→','','')
call TQ84_log('set ff=unix, was ' . &ff)
set ff=unix
nnoremap <buffer> gf :call tq84#notes#gotoFileUnderCursor(v:false)<CR>
nnoremap <buffer> gF :call tq84#notes#gotoFileUnderCursor(v:true )<CR>
nnoremap <buffer> <TAB> :call tq84#notes#tabPressed()<CR>
catch
call TQ84_log('caught: ' . v:exception)
endtry
setl omnifunc=tq84#notes#omnifunc
set path=,,**
call TQ84_log_dedent()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_ReneNyffenegger/notes.git
git@gitee.com:mirrors_ReneNyffenegger/notes.git
mirrors_ReneNyffenegger
notes
notes
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385