Skip to content

Instantly share code, notes, and snippets.

@goddoe
Last active July 31, 2018 02:24
Show Gist options
  • Select an option

  • Save goddoe/b5ffa4bcb970ce3611d3d9d802f33164 to your computer and use it in GitHub Desktop.

Select an option

Save goddoe/b5ffa4bcb970ce3611d3d9d802f33164 to your computer and use it in GitHub Desktop.
enable xterm-clipboard

by looking at src/feature.h you can see that:

#ifdef FEAT_GUI
# ifndef FEAT_CLIPBOARD
#  define FEAT_CLIPBOARD
#  ifndef FEAT_VISUAL
#   define FEAT_VISUAL
#  endif
# endif
#endif

#if defined(FEAT_NORMAL) && defined(FEAT_VISUAL) \
    && (defined(UNIX) || defined(VMS)) \
    && defined(WANT_X11) && defined(HAVE_X11)
# define FEAT_XCLIPBOARD
# ifndef FEAT_CLIPBOARD
#  define FEAT_CLIPBOARD
# endif
#endif
  • having --with-features=normal
  • having --enable-gui
  • having --with-x
  • you should get your xterm-clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment