When using vimgrep with `lv expr path/**`

, I like to have a shortcut for navigating the results. So I mapped the `F3` key like the following:

```
nnoremap <F3> :lnext<CR>
```

Now I would like to do something like the following

```
nnoremap <SHIFT-F3> :lprevious<CR>
```

But this does not have the desired effect. How do I map a F-key with `SHIFT`?

**Update:**

The solution is a bit difficult. In terminals you cannot just map `Shift`+`F3`. In fact an additional line like the following is necessary:

```
set <S-F3>=^[O1;2R
nnoremap <S-F3> :lprevious<CR>
```

But you cannot copy&paste this, see the link below in the right answer.