Add xclip message for pasting if unsupported
@@ -986,8 +986,12 @@ func (h *BufPane) paste(clip string) {
h.Buf.Insert(h.Cursor.Loc, clip)
// h.Cursor.Loc = h.Cursor.Loc.Move(Count(clip), h.Buf)
h.freshClip = false
+ if clipboard.Unsupported {
+ InfoBar.Message("Pasted clipboard (install xclip for external clipboard)")
+ } else {
InfoBar.Message("Pasted clipboard")
}
+}
// JumpToMatchingBrace moves the cursor to the matching brace if it is
// currently on a brace
