Skip to content

Instantly share code, notes, and snippets.

View chrisbra's full-sized avatar
:octocat:
Most likely working

Christian Brabandt chrisbra

:octocat:
Most likely working
View GitHub Profile
From 24b4a451e95c58479ff84d2e169673db963cfebf Mon Sep 17 00:00:00 2001
From: Christian Brabandt <cb@256bit.org>
Date: Fri, 23 Jun 2017 11:09:43 +0200
Subject: [PATCH] Fix issue #1788
hitting ctrl-n in insert mode when the cursor is at the first position,
the order of completion items won't be that one as expected (e.g. the
order of words should be in the order of appearance in the buffer).
Internally, Vim decrements the cursor position by 1 byte so that the
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 859fbe8f7..048bf0da2 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5176,6 +5176,8 @@ A jump table for the options with a short description can be found at |Q_op|.
Running into the limit often means that the pattern is very
inefficient or too complex. This may already happen with the pattern
"\(.\)*" on a very long line. ".*" works much better.
+ Might also happen, on redraw, when syntax rules try to match a complex
+ file structure.
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27395, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27396, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27397, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
@chrisbra
chrisbra / check_colors.vim
Last active December 5, 2017 21:54
Check Vim colorscheme
" This script tests a color scheme for some errors. Load the scheme and source
" this script. e.g. :e colors/desert.vim | :so test_colors.vim
" Will output possible errors.
func! Test_check_colors()
call cursor(1,1)
let err={}
" 1) Check g:colors_name is existing
if !search('\<\%(g:\)\?colors_name\>', 'cnW')
@chrisbra
chrisbra / diff_external_profile.txt
Created September 13, 2018 13:26
profiling with external and internal diff
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
90.63 0.15 0.15 336080 0.00 0.00 diff_infold
6.25 0.16 0.01 25606 0.00 0.00 list1
3.13 0.16 0.01 nv_diffgetput
0.00 0.16 0.00 336080 0.00 0.00 foldlevelDiff
0.00 0.16 0.00 277996 0.00 0.00 utfc_ptr2len
diff --git a/nsis/lang/german.nsi b/nsis/lang/german.nsi
index 78ab058e2..0c14b8e5f 100644
--- a/nsis/lang/german.nsi
+++ b/nsis/lang/german.nsi
@@ -51,7 +51,7 @@ LangString str_desc_old_ver ${LANG_GERMAN} \
LangString str_section_exe ${LANG_GERMAN} \
"Vim GUI"
LangString str_desc_exe ${LANG_GERMAN} \
- "Vim-GUI-Anwendung und Laufzeitdateien (Dieser Teil ist zwingend\
+ "Vim (Anwendung) und Laufzeitdateien (Dieser Teil ist zwingend \
diff --git a/nsis/lang/german.nsi b/nsis/lang/german.nsi
index 78ab058e2..02079d593 100644
--- a/nsis/lang/german.nsi
+++ b/nsis/lang/german.nsi
@@ -51,7 +51,7 @@ LangString str_desc_old_ver ${LANG_GERMAN} \
LangString str_section_exe ${LANG_GERMAN} \
"Vim GUI"
LangString str_desc_exe ${LANG_GERMAN} \
- "Vim-GUI-Anwendung und Laufzeitdateien (Dieser Teil ist zwingend\
+ "Vim (Anwendung) und Laufzeitdateien (Dieser Teil ist zwingend \
0 136259 chrisbra@debian ~/code/worktree/vim81 (git)-[tags/v8.1.1212]- % { git checkout upstream/master && make -j3 && make test && make clean && git status } |tee ~/vim_build_log_8.1.1212.txt
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory '/home/chrisbra/code/worktree/vim81/src'
rm -f auto/config.status auto/config.cache config.log auto/config.log
cd testdir; make -f Makefile clean
rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
touch auto/config.h
make[2]: Entering directory '/home/chrisbra/code/worktree/vim81/src/testdir'
@chrisbra
chrisbra / vim_build_log_8.1.1212.log
Created April 27, 2019 15:59
vim 8.1.1212 build log
0 136259 chrisbra@debian ~/code/worktree/vim81 (git)-[tags/v8.1.1212]- % { git checkout upstream/master && make -j3 && make test && make clean && git status } |tee ~/vim_build_log_8.1.1212.txt
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory '/home/chrisbra/code/worktree/vim81/src'
rm -f auto/config.status auto/config.cache config.log auto/config.log
cd testdir; make -f Makefile clean
rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
touch auto/config.h
make[2]: Entering directory '/home/chrisbra/code/worktree/vim81/src/testdir'
@chrisbra
chrisbra / notes.md
Last active May 17, 2019 18:37
vim win32 installer downloads

8.1.1336

  • GitHub Releases (by Asset)
  • GitHub Releases (by Asset)
  • GitHub Releases (by Asset)
  • GitHub Releases (by Asset)
  • GitHub Releases (by Asset)
  • GitHub Releases (by Asset)
  • GitHub Releases (by Asset)

8.1.1330