]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Enable YCM
authormartin f. krafft <madduck@madduck.net>
Thu, 14 Oct 2021 02:06:41 +0000 (15:06 +1300)
committermartin f. krafft <madduck@madduck.net>
Thu, 14 Oct 2021 02:20:07 +0000 (15:20 +1300)
.vim/autoload/youcompleteme.vim [new symlink]
.vim/doc/youcompleteme.txt [new symlink]
.vim/plugin/youcompleteme.vim [new symlink]
.vimrc

diff --git a/.vim/autoload/youcompleteme.vim b/.vim/autoload/youcompleteme.vim
new file mode 120000 (symlink)
index 0000000..861db0b
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/vim-youcompleteme/autoload/youcompleteme.vim
\ No newline at end of file
diff --git a/.vim/doc/youcompleteme.txt b/.vim/doc/youcompleteme.txt
new file mode 120000 (symlink)
index 0000000..f5669d2
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/vim-youcompleteme/doc/youcompleteme.txt
\ No newline at end of file
diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim
new file mode 120000 (symlink)
index 0000000..b6f29b6
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/vim-youcompleteme/plugin/youcompleteme.vim
\ No newline at end of file
diff --git a/.vimrc b/.vimrc
index 5db511da45d480abb9b3d58dab7f2d69723d201e..3ea3e40da710de9055c58d4916126a72066bba63 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1510,6 +1510,9 @@ endtry
 
 let g:is_posix = 1
 
+let g:ycm_add_preview_to_completeopt="popup"
+let g:ycm_autoclose_preview_window_after_completion = 1
+
 let g:UltiSnipsExpandTrigger = "<leader><tab>"
 let g:UltiSnipsJumpForwardTrigger = "<c-]>"
 let g:UltiSnipsJumpBackwardTrigger = "<c-[>"